06-28-2018, 09:28 AM
Set the font size:
Following is the example which demonstrates how to set the font size of an element. The font-size property is used to control the size of fonts. Possible values could be xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, size in pixels or in %
<p style="font-size:20px;">
This font size is 20 pixels
</p>
<p style="font-sizemall;">
This font size is small
</p>
<p style="font-size:large;">
This font size is large
</p>
Following is the example which demonstrates how to set the font size of an element. The font-size property is used to control the size of fonts. Possible values could be xx-small, x-small, small, medium, large, x-large, xx-large, smaller, larger, size in pixels or in %
<p style="font-size:20px;">
This font size is 20 pixels
</p>
<p style="font-sizemall;">
This font size is small
</p>
<p style="font-size:large;">
This font size is large
</p>
Hasan