HTML5 Sequence of grouping header and article -
i got question grouping headers article. of following more suitable , practice?
should group both
h1,h2inheaderelement put insidearticleelement, or;group
h1,h2first goarticleelement?
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