Style Rules
Embedding a Style Sheet
External Style Sheet
Importing a Style Sheet
Styles Inline
Class
ID
SPAN and DIV
Quick Reference Table
HTML Tutorial
Databases and ASP
   


SPAN and DIV Attribute

SPAN could be used as a selector and implemented as a style to a inline text.

Example: 1

<p><span class="Link">The World is Yours</span>

Example: 2

<span style="font-family: verdana">The Word is Yoursl</span>

The DIV attribute is similar to the SPAN attribute, with the difference being that it is a block-level element (block of text which includes other HTML elements ie paragraph, tables, headings.

Example:

<div class="link"><p>The world can be divided into two section <a href="http://www.world.com">See for yourself</a></P></div>