In HTML, we use various tags for heading and paragraphs.

For the heading we use from tag “h1” to tag “h6” and for the paragraph we use “p” tag.

But often we use the heading and paragraph tags blindly without knowing the actual font size of each tag. In this post I’m going to describe what are the actual sizes of each tag in HTML .

Heading Sizes

h1 { font-size: 24px;}   this is the biggest bolded heading.

h2 { font-size: 22px;}

h3 { font-size: 18px;}

h4 { font-size: 16px;}

h5 { font-size: 12px;}

h6 { font-size: 10px;}   this is for the lowest bolded heading .

 

Paragraph Size

For “p” tag the font size is 14px;

Advertisements