Web Development HTML Guide - Learn HTML
Developer Tutorials
ASP
CGI & Perl
CSS
Flash
HTML
Java
JavaScript
Linux
MySQL
PHP
Photoshop
Python
Wireless
XML



Developer Manuals
Learn HTML
Learn PHP
Learn MySQL
Learn CSS
Learn Pear


Developer Scripts
ASP Scripts
ASP.NET Scripts
CGI & Perl Scripts
Flash Scripts
Java Scripts
JavaScript Scripts
PHP Scripts
Python Scripts
Remotely Hosted Scripts
Tools & Utilities Scripts
XML Scripts

Developer Resources
Developer Tools
Developer News
Developer Forums
Developer Content
Developer Book Reviews
Survey Software

Web Hosting Directory
Budget Web Hosting
ColdFusion Hosting
Dedicated Servers
Domain Hosting
E-Commerce Hosting
Email Hosting
Free Web Hosting
Linux Web Hosting
Managed Hosting
Reseller Hosting
Small Business Hosting
Windows Web Hosting

<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 Idocs, Inc. Written by Miko Sullivan











About the NetVisits, Inc Network | Advertise
Developer Tutorials hosted by HostGator.
Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy.
Visit other NetVisits, Inc. sites: