This webpage is updated by Len Hom on May 1, 1999

Len's Stylesheet 1 - Inline Style Markup

Inline Style Markup Example

Let's begin with setting the color of the text for H1 elements. You can do this by using the STYLE element to set style properties for the H1 tag as follows:

< H1 STYLE= "color: red " >

Colors can be given as names or as numerical values, i.e.

rgb ( 204,204,255 )
which is a purple color.

Note that the inline STYLE element is placed in the document's HTML BODY section.

Controlling the Font

BODY { font-family: Times New Roman, cursive, sans-serif; }
H1,H2 { font-family: Times New Roman, cursive, sans-serif; }


If you have any comments or questions, please send email to:

Len Hom


Back [Back Button] Next [Next Button] Return to Beginning of Page


I take full responsibility for the information posted. The information on this page represents that of myself and not that of California State University, Sacramento or the School of Engineering and Computer Science