RE: HTML or CSS -- clarification needed

> From: Ramanan Selvaratnam []

> <h1><font color="red"><center>Birkbeck College</center></font> </h1>
> <h1 style="text-align: center; color: red">Birkbeck College</h1>

Look at it like this:

In the first example you've got all HTML 4 (though it won't validate, as mentioned with the center tag placement). With the second example you have first, HTML 4:

<h1 style="text text text text">Birkbeck College</h1>

Where HTML has a style attribute that says "You can put text here. It ought to be CSS, but I don't care." Then you have CSS inside there that is validated by... CSS.

-Chris "SoopahMan" Moschini

(this is a public mailing list - ignore attachment)

The information contained in this message is proprietary of Amdocs,

protected from disclosure, and may be privileged.

The information is intended to be conveyed only to the designated recipient(s)

of the message. If the reader of this message is not the intended recipient,

you are hereby notified that any dissemination, use, distribution or copying of 

this communication is strictly prohibited and may be unlawful. 

If you have received this communication in error, please notify us immediately

by replying to the message and deleting it from your computer.

Thank you.


Received on Thursday, 3 July 2003 10:11:01 UTC