W3C home > Mailing lists > Public > www-archive@w3.org > July 2001

Re: Classes Considered Harmful

From: Aaron Swartz <me@aaronsw.com>
Date: Sat, 7 Jul 2001 22:41:49 -0500
Cc: "Sean B. Palmer" <sean@mysterylights.com>, <w3c-wai-pf@w3.org>, <www-archive@w3.org>
To: Kynn Bartlett <kynn-hwg@idyllmtn.com>
Message-Id: <20010708034209.PYZU14637.femail19.sdc1.sfba.home.com@localhost>
On Saturday, July 7, 2001, at 09:36  PM, Kynn Bartlett wrote:

> Classes are sometimes harmful.  Not always.  Let's try not to make
> too sweeping of generalities here; as an example, it would be very
> hard to use CSS with XHTML if the general belief is that "classes
> are harmful."

This is a flaw in (the current version of) XHTML. Because it 
does not allow easy extensibility via namespaces, developers are 
forced to use the class attribute to get a poor approximation. I 
think that semantics and accessibility would be better served if 
XHTML did things a different way.

[ "Aaron Swartz" ; <mailto:me@aaronsw.com> ; <http://www.aaronsw.com/> ]
Received on Saturday, 7 July 2001 23:42:21 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:31:37 UTC