Web Hosting Directory | Web Hosting Resources | Webmaster Resources | Domain Tools | Search Engine Marketing | Forums
  Signup
Today: 1,265   Yesterday: 1,015   Max: 1,872   Total: 464,318   Current Users : 18 (Member 0) 
HTML RESOURCES

WEBMASTER RESOURCES

WEBMASTER TOOLS

JAVASCRIPT RESOURCES

PHP RESOURCES

MISCELLANEOUT RESOURCES

 

<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">
<!--
.product
{
color:brown;
font-weight:900;
font-size:95%;
font-family:sans-serif;
}
-->
</STYLE>

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, 
<SPAN CLASS="product">MOFAT</SPAN>,
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.



Copyright 1997-2002 Idocs, Inc. Written by Miko Sullivan.

 
 
 
What is your major source of website traffic?
 
 
 
 
 
 

ADVERTISEMENT

 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2008 Broadband Media, Inc. All rights reserved.