<SPAN ...>

The sole purpose for <SPAN ...> is to allow you to set the fonts for a span of text. This is done by creating a styles rule, then applying the style to a <SPAN ...> element.

For example, suppose you want your product names displayed in a special style. First, you could create a style rule in the like this:

<STYLE TYPE="text/css">

This rule creates a styles class named product and sets the font color to brown, weight to 900, the size to 95%, and the font family to the generic font family "san-serif".

We can now apply the product class to a <SPAN ...> element using the CLASS attribute:

Our new software product, 
brings a new lvel of quality to ground-water analysis.

which gives us

Our new software product, MOFAT, brings a new lvel of quality to ground-water analysis.

About the Author
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.