[Prev][Next][Index][Thread]

Re: IDs vs. Classes



Paul,
am I right to think

<p class=copyright>text</p>

is like saying

<copyright>text</copyright>

?

Creating a new block element based on the paragraph.

Steve

>If you think about it in a certain way, classes actually have more in common
>with element names (i.e. P, H1, DL) than with IDs in that they describe a
>certain kind of data, whereas IDs name a particular data element.
>
> Paul Prescod
>
>
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
   _/     Steve Knoblock 
             knoblock@worldnet.att.net
   _/     City Gallery - History of Photography
             http://www.webcom.com/cityg  
   _/     Member:  National Stereoscopic Association
            http://www.tisco.com/3d-web/nsa/nsa.htm


Follow-Ups: