Is it necessary to write h1 only or we can write else than 1 like 2, 3, 33 etc. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Is it necessary to write h1 only or we can write else than 1 like 2, 3, 33 etc.

document.write("hi<\h56>");

4th Feb 2019, 2:58 PM
anamta ali
anamta ali - avatar
2 Réponses
+ 3
Not sure what you are doing with that. But if you meant the HTML headings, it is only valid with number from 1 to 6, with h1 being the largest and h6 be the smallest. <h1>...</h1> ... <h6>...</h6> If your question wasn't about headings, you better edit your question to make it more clear so others can help you.
4th Feb 2019, 4:20 PM
Ipang
+ 1
Thankyou
5th Feb 2019, 12:55 PM
anamta ali
anamta ali - avatar