HTML and CSS Reference
In-Depth Information
fantasy , and monospace . Their renderings under modern browsers are shown here but
beware that they may not render the same in all browsers:
.modern {font-family:'Trebuchet MS', Arial, Helvetica, sans-serif;}
p {font-family: Serif;}
body {font-family: "Times New Roman, Courier";}
#special {font-family: fantasy;}
CSS 1, 2, 3
IE 4+
Netscape 4+, Firefox 1+
Opera 4+, Safari 1+
• This property is equivalent to the face attribute of a <font> tag.
• Under many browsers, downloadable fonts are supported. See the entry for
@font-face earlier in the reference.
• Fonts are listed in comma-separated form, generally ending with a known available
built-in CSS font.
This property sets the font size of text.
font-size: length | percentage | larger | smaller | xx-small | x-small |
small | medium | large | x-large | xx-larger | inherit
Search WWH ::

Custom Search