Difference in output if we use h2 tag in place of h1 tag

Difference in output if we use h2 tag in place of h1 tag
0

#1

Tell us what’s happening:

What will be the difference in output if we use h2 tag in place of h1 will the Font size decrease???

Your code so far

<h1>Hello World</h1>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Linux; U; Android 6.0.1; Le X526 Build/IIXOSOP5801910121S; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/49.0.2623.91 Mobile Safari/537.36 OPR/32.0.2254.122976.

Link to the challenge:


#2

Yes, it will. Do not use these tags to manipulate font size, there is a CSS property for that.


#3

Yes, the font size will decrease. h1 is the biggest, usually use for header titles, h2 is smaller then h1. Similar h3 is smaller then h2 and h4 will be smaller than h3… and so on.