+ 4

HTML

Why in HTML <h7> doesn‘t exist?

10th Apr 2018, 6:50 PM
dieserrapha
dieserrapha - avatar
4 Antworten
+ 7
The HTML spec defines 6 headings. Browsers recognize 6 headings. If you start using <h7> and so on, then you'll be using an invalid element. If you find yourself needing an <h7> then you should probably take a look at how you're structuring your site. Not every single title deserves a heading element. source and for more check; https://stackoverflow.com/questions/22638799/is-it-possible-to-create-html-tags-h7-h8-h9-and-so-on
10th Apr 2018, 6:56 PM
Baraa AB
Baraa AB - avatar
+ 6
we alsoo don't need h1,h2,h3.... ,as there is css 'font-size' property😂😂
10th Apr 2018, 6:55 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 5
Thank
10th Apr 2018, 8:46 PM
dieserrapha
dieserrapha - avatar
+ 2
Because h6 has the same size as normal font (maybe a little smaller). As you may know, h6 < h5 < h4 < h3 < h2 < h1. If you want smaller font, costumize it in CSS: .selected-text { font-size: ...; //Don't forget to put the measuring unit } The default is 12px or 1em. Good luck!
10th Apr 2018, 7:25 PM
Razvan Wist
Razvan Wist - avatar