W3C home > Mailing lists > Public > www-html@w3.org > August 2001

Re: Classes Considered Harmful

From: Frank Tobin <ftobin@uiuc.edu>
Date: Mon, 13 Aug 2001 16:31:30 -0500 (CDT)
To: "Sean B. Palmer" <sean@mysterylights.com>
Cc: <www-html@w3.org>
Message-ID: <Pine.BSF.4.33.0108131620240.77348-100000@palanthas.neverending.org>
Sean B. Palmer, at 18:40 +0100 on Mon, 13 Aug 2001, wrote:

   Taking "were" to mean "are", that's wholly incorrect. Classes are a
   means of labelling elements to indicate further semantics, e.g. by
   classifying a set of elements into one group. Styling should then be
   applied according to that; not as a direct consequence of it.

I would argue that the most practical benefit of using classes is to
create factorization to minimize repetivity, irregardless of whether the
factorizing pulls out semantic or presentational aspects of a group of

As a user tries to actually think about how to factorizing more
efficiently, however, they will probably realize that factorizing via
semantics is a good route to take.

Frank Tobin		http://www.uiuc.edu/~ftobin/
Received on Monday, 13 August 2001 17:31:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:57 UTC