+ 1
About <header> .
I don't know why we use <header> tag for <h1> or ... . We can use <h1> tag without <header> tag . What's the <header> ? When we should use this tag ?
2 Respuestas
+ 1
Header tag is semantic tag introduce with html 5.
Semantic tag (header,footer,section,article,aside) are introduced to make code coder friendly.
Header is used to define heading section of page which may include navbar ,logo,hero-image...
Before html 5 we used div for all that but now we use header and footer ttags in code which helps to understand this this part of code is for heading output and this is for footer output.this was not clear with div as we used varius div for various purposes.
+ 1
You can use the <h1> outside of your header.
The header tag is used to create a clear structure for your site,
in the same way as a <nav> or <article> tag.