FONT-SIZE Property In CSS

font-size Property in CSS

font-size property Declares the size of the font. Previously set in HTML via the size attribute in a <font> tag.

Possible Value:

Lengths (number and unit type— i.e. 1em, 12pt, 10px, 80%) or one of the following predefined values: xx-small x-small small medium large x-large xx-large smaller larger

Example

div { font-size:70%; } div { font-size:0.85em; } div { font-size:medium; }

Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad