- From: Anne van Kesteren <fora@annevankesteren.nl>
- Date: Mon, 14 Feb 2005 17:47:26 +0100
- To: Robin Berjon <robin.berjon@expway.fr>
- CC: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>, www-style@w3.org
Robin Berjon wrote: > > Philip TAYLOR wrote: > >> How does one abuse a "class" attribute, btw ? > > Mostly by creating documents in DIV-soup: with almost only DIVs and > SPANs and using the class name to (attempt to) convey semantics. It's > not always entirely avoidable in XHTML due to its limited semantics but > it's not rare to see <div class='address'> where <addr> would've worked. That would be using the CLASS attribute. Abusing is more like |class="red-2px-border"| or |class="green"|. -- Anne van Kesteren <http://annevankesteren.nl/>
Received on Monday, 14 February 2005 16:47:38 UTC