0

what's the use of <header>?

17th Jun 2016, 7:33 PM
nxt-inv
2 Answers
+ 3
the header tag used for top of the page website logo ...
18th Jun 2016, 12:44 AM
Anass
Anass - avatar
+ 1
in html4 we would have to create a <div id="header"></div> in html5 they introduced <header></header> you can clearly see why this was done and now you know it's use. there is also common tags like <nav></nav>. <main></main>. <footer></footer>. many more can be found here :). https://www.w3.org/TR/html5-diff/
18th Jun 2016, 3:23 AM
Trikyas.com
Trikyas.com - avatar