(CSS)
Examples: Fonts
jim.cerny@unh.edu  19-MAY-1998

Results.

This paragraph is navy color text.

This paragraph leaves the default black text, but makes it sans-serif, italic, bold, and large size. Maybe it would be simpler if there were just an attribute called "ugly"!


Notes.

This example declares the styles in-line and uses the STYLE attribute on the paragraph (P) tag. It shows how to use color and various font properties:

<p style="font-family: Arial,Helvetica,sans-serif; font-style: italic; font-weight: bold; font-size: large;">