CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS font-size property

The CSS font-size property set a font size(like small,mediam,large, or set pixel size etc..) of an element.

Property Values

Properties Value Description
Syntax font-size:value;
value   small
Allow to All elements
Inherited Yes


<p style="font-size:18px">font size 18 pixel</p>
Online Try This Code Your Self....   »


font size 18 pixel