Developing Webs logo
Google
Web DW-Main DW-Photoshop
Visit the message board for solutions or post a question Check out the Classes offered for free at Developing Webs Voice Chat submit a tutorial, resources, article, font for publication consideration and earn a one way link back to your site Get more specifics about the Developing Webs Voice chat room and its room members View the current news at Developing Webs alternative sites which are resources for your d3evelopment needs Join Developing Webs Chat Link to us on your web page to help support this resource! Check out Developing Webs At yahoo groups! Developing Webs Home Adobe Photoshop Tutorials Macromedia Flash Tutorials Jasc Paint Shop Pro Tutorials Adobe Illustrator Animation basics Some Basic PHP tutorials Perl Tutorials HTML Tutorials Cascading Style Sheets javascript Front Page Tutorials Macromedia Dream Weaver Tutorials dreamweaver Publishing your site, FTP, ChMod, Promotions Tools to help you create your site Free and shareware fonts to download Photographs to use in your projects Shop for your site needs Free Online classes REcommend this site to others Log in or edit your information when logged in Developingwebs Log Out Change My Account details and preferences
RSS Newsfeed
for your site
DW News
Calendar
DW Forum
Right click on button and copy shortcut

Add to My Yahoo!

Reminder
Remember to book mark this site!



Request a Tutorial

 

<SPAN>...</SPAN>

Description: The <SPAN> tag is a way to apply a style to a portion of text
that is not contained within a specific HTML structural tag. It can be used
to apply a style to the first letter or word of a document and is contained
within the header of the document. It won't affect the text, only the style
will affect the text's appearance.

Attributes:

  • charset - This attribute indicates the character encoding of the destination resource of the HREF attribute.
  • href - This attribute indicates the URL to be loaded when the linked content is activated.
  • hreflang - This attribute specifies the base language of the resource indicated in the HREF attribute.
  • media - This attribute is a keyword representing the intended rendering destination for the style sheet properties applied to this element. Multiple destinations are given delimited by commas.
  • rel - The REL attribute is meant to give the relationship(s) described between the current document and the document specified by the HREF attribute.
  • rev - The REL attribute is basically meant to be the same as the REL attribute, but the semantics of the relationship are in the reverse direction. A link from A to B with REL="X" expresses the same relationship as a link from B to A with REV="X". Both the REL and REV attributes may be used in the same element.
  • target - This attribute specifies the named frame for the contents specified by the HREF attribute to load to when activated.
  • type - This attribute specifies the MIME type of the resource indicated in the HREF attribute.

Usage:

This is a span of the style <SPAN STYLE="font-size: xx-small">font-size: xx-small</SPAN>

Will look like this:

This is a span of the style font-size: xx-small