It is semantically correct to use
inside
?

后端 未结 2 449
长情又很酷
长情又很酷 2021-01-12 16:27

All examples I found on internet refers to using

inside
, but nothing related to the use of
e

2条回答
  •  误落风尘
    2021-01-12 17:15

    header is:

    introductory content for its nearest ancestor sectioning content or sectioning root element.

    section is a valid sectioning content, so header is semantically correct - even encouraged - in this position.

    Quote taken from this HTML5 Doctor page, which actually quotes the HTML5 spec directly.

提交回复
热议问题