HTML use of Headings to make the text bigger | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

HTML use of Headings to make the text bigger

can any one please explain that why is it not recommended to use the heading tag such as <h1></h1> to <h6></h6> to make the fonts bigger? in simple language please! thanks

17th Feb 2018, 7:04 AM
Patel Nisarg
Patel Nisarg - avatar
6 Answers
+ 5
yes, you are absolutely right, but u might haven't seen there comment. sololearn says " they don't recommend make fonts bigger using head tag". even if you want that big fonts and you can use different heading such as 5 or whatever from h1 - h6. so, basically what is the purpose behind not recommending heading tag.
17th Feb 2018, 8:02 AM
Patel Nisarg
Patel Nisarg - avatar
+ 3
very simple @patel, look why do you use heading and what's the perpouse of text ? if you use heading tag so the fonts will be so bigger than you need, hard to fit in screen as well , you can try it if you want. if you want bigger font than usual do :- https://code.sololearn.com/WSzaGG716nA1/?ref=app
17th Feb 2018, 7:59 AM
Abhi DG
Abhi DG - avatar
+ 3
dear patel you can do if you want but one thing I just gave you another solution I recommend to check the code .
17th Feb 2018, 8:05 AM
Abhi DG
Abhi DG - avatar
+ 2
Heading tags carry meaning. If you want to make a font bigger for visual purposes, you should use the span tags and identify the style you want to go with it. Headers are used to identify important sections of text, as they are used in classical books and essays.
20th Feb 2018, 9:53 AM
Stefaan Doomen
Stefaan Doomen - avatar
+ 1
Sometimes its confusious alot but its how its made
27th Feb 2019, 6:18 PM
Pascal Diny
Pascal Diny - avatar
0
They have h1 h2 h3 h4 h5. The more it goes up the smaller the heading will be
17th Mar 2019, 10:45 AM
beast 187
beast 187 - avatar