html5标签的实践。
Michael Jordan
Michael Jordan 2017-04-17 13:11:45
0
3
527

最近尝试使用HTML5新的标签元素去布局,例如

等,但是在书写HTML的过程中有个困惑就是这些标签元素语义应该怎么去区分,以及它们的最佳实践。

Michael Jordan
Michael Jordan

学习是最好的投资!

reply all (3)
黄舟

HTML5 adds,

and other tags todocument semantics, such as replacing theptag in the document. For specific scenarios in which to use it, please refer to the official documentation of H5 Well...

    Peter_Zhu


    Recommended to come here to learn
    http://www.runoob.com/html/html5-new-element.html

      小葫芦

      First of all, I personally think that good HTML semantics is actually the icing on the cake.
      It’s actually not difficult to do a good job of semantics. The key is to figure out what exactlyis put in thetag. Taking the several new tags added in HTML5 as an example, you can easily know that the

      tag must contain the main text content, and
        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!