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


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

Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2024 Python Programming Tutorials 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 Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz