the complete webmaster
tutorials reviews reference
ASP
CGI
FrontPage
HTML
Java
JavaScript

home / reference / html

<span></span>
class

The <span> tag is used primarily with style sheets. It's main function is to format large blocks of text that you want to have the same general attributes.

<span class="">

   Description
   The class attribute is used to set a block of text to a certain characteristic which is defined elsewhere. All of the text within will then follow these standards. For the example below, what "redtext" is would have to be defined elsewhere, but I'm not sure where.
Code
   <span class="redtext">YOUR TEXT HERE</span>
Appearance
   YOUR TEXT HERE
write for us about us advertise

Copyright 1997, 1998 A Big Lime. All rights reserved.