+ 1

HTML

How does the header work?

11th Oct 2018, 12:26 AM
Kris Anne Tamayo
Kris Anne Tamayo - avatar
2 Answers
+ 2
<header> basically "lifts" a few elements higher
11th Oct 2018, 2:51 AM
👑 Prometheus 🇾🇬
👑 Prometheus 🇾🇬 - avatar
+ 1
It doesn't really work a special way. You make it work however you want to. It's basically just another div element. One of the benefits of adding extra "meaning" to a div (e. g. by using "header" instead) is it could have some SEO benefits (but since the more widely used search engines have proprietary algorithms, I'd take it with a grain of salt).
11th Oct 2018, 3:27 AM
Janning⭐
Janning⭐ - avatar