+ 3
How many headers on HTML5 !!! ???
6 Réponses
+ 3
<header> tag is different to <h1-6> tag. Don't mix them up. Header - is the header of the webpage, i.e. top of the page. Heading is the heading/title in a block of code, e.g. title of an article.
<header> element is useful for screen readers, and should be used once. Otherwise it's the same as having 2 <title> elements for the webpage, which is weird and not efficient.
<h1-6> are headings elements for the webpage. They determine the Importance of the heading and content inside the block of code. And are used to represent the heading of a content
+ 3
You should differentiate between "Header" and "Heading" tags, the first one is used as a header for your page, the second one is used to write a title for an article or paragraph ... etc and available in 6 types from h1 to h6 depends on the size of them.
+ 2
6
+ 1
6 <H6> > <H5> > <H4> > <H3> > <H2> ><H1>
+ 1
6
- 1
You can use as many <HEADER> tags you want but one is recommended to use.
However must people dont use the <HEADER> tag anymore and it is recommended to use H tags such as <h1> <h2> <h3> <h4> <h5> to show the head of the body.