How many headers on HTML5 !!! ??? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How many headers on HTML5 !!! ???

24th Dec 2022, 1:07 PM
LOGESHWARAN A
LOGESHWARAN  A - avatar
7 Answers
+ 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
24th Dec 2022, 2:56 PM
Lamron
Lamron - avatar
+ 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.
26th Dec 2022, 12:31 AM
Ahmad Bahbouh
Ahmad Bahbouh - avatar
+ 2
6
26th Dec 2022, 8:45 AM
🌍🌎🌏ᴀɪᴍ🌎🌏🌍ᴵⁿᵃᶜᵗⁱᵛᵉ
🌍🌎🌏ᴀɪᴍ🌎🌏🌍ᴵⁿᵃᶜᵗⁱᵛᵉ - avatar
+ 1
h1, h2, h3, h4, h5, h6 The header tag is a semantic element used for wrapping: <header> <!--Here you can insert, for example, your logo--> </header> <nav> <!--Your navigation menu--> </nav> https://images.app.goo.gl/BbpUMfQP7Bcg9Xvb7
24th Dec 2022, 1:39 PM
Knight
Knight - avatar
+ 1
6 <H6> > <H5> > <H4> > <H3> > <H2> ><H1>
26th Dec 2022, 1:15 PM
ARYAN KUMAR
+ 1
6
29th Dec 2022, 2:57 AM
Sibani Ghorai
- 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.
24th Dec 2022, 1:23 PM
Vanessa Nilsson