Example 1: CSS HTML Text Styles


Note -- This document contains the following CSS declarations:

H1     { color: rgb(128,0,128) }
PRE { background-color: rgb(200,200,200); }
B { background-color: rgb(128, 128, 255);
font-size: large; }
I { font-size: larger; }
B I { font-size: smaller; }
LI B { font-size: .25in; }
UL LI { color: green;
list-style: square outside url(resource:/res/gear1.gif);
//none; }
UL UL LI { color: red; }
H4 { color: yellow;
background-image: url(gear1.gif);
background-repeat: repeat;
font-size: 150%; }


Here is an example of bold, italic and bold-italic


Some links to test pseudo-classes

link

visited

active

hover

Bulleted List


H3 -- A headline style, with a background image repeated and a font size increase by 150%. H3 -- A headline style, with a background image repeated and a font size increase by 150%. H3 -- A headline style, with a background image repeated and a font size increase by 150%.