是新的HTML5元素,例如< section>和<物品>无意义? [英] Are new HTML5 elements like <section> and <article> pointless?

查看:105
本文介绍了是新的HTML5元素,例如< section>和<物品>无意义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



元素如< section>,< nav> ;,< article>>< aside>< / code>等等,都显得毫无意义。当然,他们让每件事都有自己的一席之地(并且seo'd)......但是有可能过度组织事物。在某些情况下,事物也不适合任何类别。这也增加了尝试编码这些事情的时间。我只是没有看到有任何真正的目的是要添加这些新元素。



我们(开发人员和查看网页的人)必须通过添加这些元素对于诸如Kindle之类的盲人屏幕阅读器和电子书阅读器等事物是非常重要的。 它可以帮助他们知道什么时候显示/阅读。

Don't kill me just yet, I'm asking out of pure curiosity.

Elements like <section>, <nav>, <article>, <aside> etc all seem completely pointless. Sure they make everything have its own little place (and seo'd)... but it is possible to over-organize things. There are some cases where things don't fit in any of the categories too. It also increases time spent trying to code these things. I just don't see any real purpose for moving to add these new elements.

What do we (developers and people who view the webpages alike) have to gain from adding them?

解决方案

These elements are important for things like screen readers for the blind and eBook readers like Kindle. It helps them know what to show/read and when.

这篇关于是新的HTML5元素,例如&lt; section&gt;和&lt;物品&gt;无意义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆