|
|
• Easy CSS Tricks |
|
| ||||||
| • Adding Paragraphs |
|
The next element we will learn about is the <P>. You must ALWAYS close this element with </P>
This too is a text element and like the headings
We will also look at CLASSES, these are nothing
First let's just add the <P> element with a few
<HTML> Note: Not All Text Attributes Are Supported by MSNTV
As you can see from the attributes we used
These "margin" attributes can be used on any element |
| • Classes - What Are They ? |
|
A CLASS is known as a selector in CSS terms. The easiest way I can describe what "classes" are is to say they are like giving an element a "name". Each CLASS can have it's own set of attributes assigned to them. Any element within the <BODY> of an HTML document can be "classed". For this next lesson we will "class" another paragraph for our CSS web page.
The CLASS (or name) we will give the next paragraph
<HTML> Note: Not All Text Attributes Are Supported by MSNTV
So if you wanted another paragraph in a different
You might have noticed the background color behind
|
|
|
Draac.Com Is Hosted By ValueWeb
Register UK domain names at Domain Names UK
|
|
| Advertise
| Link To Us | Status/Updates | Privacy Statement |
| Copyright © 1999-2003 Draac.Com
© All Rights Reserved. |