webmonkey

 

font-size

Page history last edited by Nicole M 2 yrs ago

font-size

 

 

Description

The css property font-size sets the size of the a font.

 

 

 

Possible Values:

xx-small

x-small

small

medium

large

x-large

xx-large

smaller-Sets the font-size to smaller size

larger-Sets the font-size to a lager size

length-Sets the font-size to a fixed size

%-Sets the font size to a % of the parent element

Examples

 

 

p {font-size:x-large;}

 

h1 {font-size:70%;}

Source

http://htmlhelp.com/reference/css/font/font-size.html

http://www.w3schools.com/css/pr_font_font-size.asp

 

You can also use units in points.

 

Example:

body { font-size:12pt; }

Comments (0)

You don't have permission to comment on this page.