HTML5 Sequence of grouping header and article -


i got question grouping headers article. of following more suitable , practice?

  1. should group both h1 , h2 in header element put inside article element, or;

  2. group h1 , h2 first go article 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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -