Html and CSS:
CSS: The Basics - ID's and Classes ... Correct by Eric McArdle
Thursday, May 12, 2005 - 05:41 PM

Css
Cascading Style Sheets
Two types of style sheets: Internal and External
Internal - You insert your style code right into your html code.
These stylesheets should only be used if you are intending to
create a specific page with a specific style. If you want to be
able to make global changes to your website using only one style
sheet, you have to use....
External Stylesheets - Instead of putting all the style code into
your html code, you can create a single document with your css
code and link to it within your webpages code. It would look
something like this
{head}
{title}Webpage title{ itle}
{link rel="stylesheet" type="text/css"
href="http://www.yourdomain.com/css"}
{/head}
If you decide to use an internal stylesheet, you have to put your
css style wihin the following tags:
{style type="text/css"}
{/style}
All css or links to the external stylesheets have to go in
between the {head} tags
Now about Css Classes vs. ID's
The one major difference between a class and an id is that
classes can be used multiple times within the same page while an
Id can only be used once per page.
Note: About the Author
Eric McArdle is the publisher of the TrafficaZine Online
Marketing Newsletter which is a publication designed to
assist the online marketing and/or web designing
entrepreneur with the basic tools and resources that will
greatly assist them in taking further steps into bettering
their online business. http://www.trafficazine.com