W3C home > Mailing lists > Public > www-qa@w3.org > March 2004

Re: QA: Good CSS class names

From: Dominique HazaŽl-Massieux <dom@w3.org>
Date: Tue, 09 Mar 2004 12:26:45 +0100
To: Sybren StŁvel <sybren@thirdtower.com>
Cc: www-qa@w3.org
Message-Id: <1078831604.32095.44.camel@stratustier>
Hi Sybren,

Le lun 08/03/2004 ŗ 23:59, Sybren StŁvel a ťcrit :
> I've written a tip about giving your CSS classes a good name. I hope 
> you all
> like the tip, and place it online!

Thanks for your contribution! I've put the draft on-line:
linked from the Tips page:

hence the review period for it starts today. If anybody has comments on
it, please send it before March 23rd

Here comes my own feedback:
- I like the ideas that the draft develops; I think it's a useful
addition to the tips we already have in place
- the title refers to "CSS class", whereas the class attribute is part
of HTML, and can have other usages than simply applying CSS; I would
therefore suggests changing it from "A CSS class gives an element a
role" to "Use <code>class</code> with semantics in mind"
- rather than "role" which is not necessarily easy to understand when
applied to a language, I propose to use the term "semantics" which is
well anchored in the languages description
- it may be worth adding a note that this fits in the more general
principle of separating content from presentation

Thanks again for your contribution!
Dominique HazaŽl-Massieux - http://www.w3.org/People/Dom/

Received on Tuesday, 9 March 2004 06:27:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:40:35 UTC