W3C home > Mailing lists > Public > www-style@w3.org > October 1996

Re: IDs vs. Classes

From: Steve Knoblock <knoblock@worldnet.att.net>
Date: Tue, 08 Oct 1996 03:05:25 -0400
Message-Id: <>
To: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>, "Galarneau, Neil" <ngalarneau@concord6.powersoft.com>, "'www-style'" <www-style@w3.org>
am I right to think

<p class=copyright>text</p>

is like saying



Creating a new block element based on the paragraph.


>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 
   _/     City Gallery - History of Photography
   _/     Member:  National Stereoscopic Association
Received on Tuesday, 8 October 1996 03:05:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:26:41 UTC