+ 5

What is the usage of the <header> tag in HTML5?

I saw this is the HTML lessons: <!DOCTYPE html> <html> <head></head> <body> <header> <h1> Most important heading </h1> <h3> Less important heading </h3> </header> </body> </html> why would I use the <header> tag in HTML5? I thought I could just use <h1> without putting it inside the <header> tag? Please, help! Thanks! 😀👍

15th Aug 2018, 2:51 AM
Christine
Christine - avatar
4 Réponses
+ 5
QWERTY Are you talking about that Python game I made a little while ago? 🤔
16th Aug 2018, 1:44 PM
Christine
Christine - avatar
+ 4
Okay, sorry everyone! I think I understand it now, after thinking some. 😅😅😅 So I believe that the <header> tags are not about headings, they are about the PART OF THE PAGE that is called the <header>. Sorry for posting the question... I think I answered it myself... whoops... 😅👍
15th Aug 2018, 2:55 AM
Christine
Christine - avatar
+ 2
No worries. Head, header, and heading all sound similar, so it's understandable. You can always delete your question too, if you feel it was posted in error.
15th Aug 2018, 7:27 AM
Janning⭐
Janning⭐ - avatar
0
very nice was that game😂
16th Aug 2018, 1:36 PM
QWERTY