CSS Font and Text Properties

CSS Font and Text Properties


CSS PropertyExample ValueOther Values
text-align:centerLeft, Right
font-family:Verdana, Arial, Helvetica, Sans-Serif 
font-size:16px|percent |em |xx-large, x-small, small, medium, large, x-large, smaller, larger
font-style:italicnormal (the default), oblique
font-variant:small-caps 
font-weight:BoldBolder | Lighter | Any number from 100 to 900
Color:RedA colour name, Hexadecimal value, RGB Value

Comments