Why do we have a heading tag if it's the same thing as using h1, h2 etc | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why do we have a heading tag if it's the same thing as using h1, h2 etc

2nd Jul 2016, 5:05 AM
Mario Fuentes
Mario Fuentes - avatar
1 Answer
+ 2
there is a <header> tag, which sits at the top of your page, normally holds a <div>logo</div> and your <nav> menu . There are no similarities between a header tag and a h1, h2, h3, h4, h5 or h6 the h tags are purely heading tags .
4th Jul 2016, 6:27 PM
Trikyas.com
Trikyas.com - avatar