Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

<SPAN>

The SPAN element is an inline grouping element similar to the DIV element (except the DIV is used to create a block-level grouping.) By inline, we mean that the SPAN element doesn't create a line break before and after the grouping.

An end tag is required for this element.

Attributes

Attribute Description
ID Identifies this tag to reference in script (program code)
CLASS Define the class used to render this element (defined by a style sheet)
TITLE A title that is associated with the element (displayed as a tooltip in Internet Explorer)
STYLE Defines an inline style for this element. SPAN elements are often used to apply special formatting to HTML content.
ALIGN Defines an alignment for the HTML content contained with the SPAN element. This may be one of the following: "left", "right" or "center"

Example

<SPAN STYLE="{font-weight: bolder; font-color: #ff0000;}">
Warning! Red text shouldn't be ignored!
</SPAN>

Compatibility

HTML 4.01

Return to HTML Tag Reference Overview

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"Success is how high you bounce when you hit bottom." - General George Patton

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.