I fidgeted on the Internet, but I can not find a definitive answer to this. Given the following HTML5 structure below, should I use h2 or h3 inside my element aside for content headers?
I know that itβs good to use multiple h1s if they are inside a section and / or article element. But I'm not sure what to do aside? I think I should stay away from a few h1 aside, but I'm not sure about h2 and h3's.
Thanks!
<!DOCTYPE html> <html> <head> <title>Heading Tags</title> </head> <body> <section> <header> <h1>Main Section</h1> </header> <article> <h1>Article Title 1</h1> <div>Some Content Here</div> </article> <article> <h1>Article Title 2</h1> <div>Some Content Here</div> </article> <article> <h1>Article Title 3</h1> <div>Some Content Here</div> </article> </section> <aside> <header> <h1>Side Bar Heading</h1> </header> <div> <h2>Side Content Title 1</h2> <div>Some Content Here</div> </div> <div> <h2>Side Content Title 2</h2> <div>Some Content Here</div> </div> <div> <h2>Side Content Title 3</h2> <div>Some Content Here</div> </div> </aside> </body> </html>
source share