What are the default font sizes (in pixels) for the html heading tags?
In HTML, there are six type of heading tags. They are h1 to h6.
By default, browsers set different font size to all of them.
h1 is 32px
h2 is 24px
h3 is 18.72px
h4 is 16px
h5 is 13.28px
h6 is 12px
1em equals to 16px.
save
listen
AI Answer
What are the default font sizes (in pixels) for the html heading tags?
1
In HTML, there are six type of heading tags. They are h1 to h6. By default, browsers set …
asked
Apu
1 answers
2915
In HTML, there are six type of heading tags. They are h1 to h6. By default, browsers set …
Answer Link
answered
Apu
h1 { font-size: 2em;}
h2 { font-size: 1.5em;}
h3 { font-size: 1.17em;}
h4 { font-size: 1.00em;}
h5 { font-size: 0.83em;}
h6 { font-size: 0.67em;}