HTML5 Sequence of grouping header and article -
i got question grouping headers article. of following more suitable , practice?
should group both
h1
,h2
inheader
element put insidearticle
element, or;group
h1
,h2
first goarticle
element?
the specification says, of <header>
element:
the header element represents introductory content nearest ancestor sectioning content or sectioning root element...when nearest ancestor sectioning content or sectioning root element body element, applies whole page.
if not put them within sectioning content, may misinterpreted. place them within sectioning content; in case, <article>
element.
Comments
Post a Comment