DEV Community

Nathan Pasko
Nathan Pasko

Posted on

Should only the app toolbar use h1?

Every day I ask myself.

Top comments (3)

Collapse
 
niorad profile image
Antonio Radovcic

no. every sectioning-element should have an h1 as their first headline. so every section, article, aside, nav etc.
the second headline in a section gets an h2, and so on.

Collapse
 
sprite421 profile image
Nathan Pasko

Thanks, yeah, I know this is the rule... it just always feels wrong to my brain. 😂

Collapse
 
niorad profile image
Antonio Radovcic

thats years of SEO people not understanding HTML5 sectioning