Nesting HTML5 section tags

后端 未结 5 1402
再見小時候
再見小時候 2020-12-15 03:05

Is this a correct way to use the

tag?

5条回答
  •  再見小時候
    2020-12-15 04:00

    An updated method (as far as I understand it) could be something like this:

    Section Title

    ...

    Section Title

    ...
    main { width: 100%; ... ... } #inner_wrapper { max-width: 80%; margin: 0 auto; }

    See: http://www.w3.org/TR/html-main-element/, http://www.sitepoint.com/html5-main-element/ or http://html5doctor.com/the-main-element/ for more info.

提交回复
热议问题