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

Re: IDs vs. Classes

From: Scott E. Preece <preece@predator.urbana.mcd.mot.com>
Date: Wed, 9 Oct 1996 14:57:21 -0500
Message-Id: <199610091957.OAA04941@predator.urbana.mcd.mot.com>
To: gtn@ebt.com
CC: Chris.Lilley@sophia.inria.fr, knoblock@worldnet.att.net, www-style@w3.org, papresco@calum.csclub.uwaterloo.ca, ngalarneau@concord6.powersoft.com
 From: gtn@ebt.com (Gavin Nicol)
| >With the sole exception that, of course, an HTML 2.0 | 3.2 browser can
| >do something vagely sensible with <p class=copyright> and <h2
| >class=chaptertitle> wheras it can do nothing much with <copyright> and
| ><chaptertitle> except pretent the tags weren't there.
| The point I made was that if you can do one, it is no harder to do
| the other.

No - the 2.0/3.2 browser knows what to do with p and h2 elements; it
does not know what to do with copyright and chaptertitle elements.  If
you use the element forms, the old browser is unable to do *anything*
useful with them (like inserting paragraph breaks or formatting as a
header); if you use the CLASS forms, the browser still has the element
type to use to guide a default action.

Now, a CSS1-supporting browser, on the other hand, could deal with
either form more-or-less equivalently.


scott preece
motorola/mcg urbana design center	1101 e. university, urbana, il   61801
phone:	217-384-8589			  fax:	217-384-8550
internet mail:	preece@urbana.mcd.mot.com
Received on Wednesday, 9 October 1996 15:59:13 UTC

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