- From: Ian Hickson <ian@hixie.ch>
- Date: Sat, 31 Aug 2002 17:42:24 +0000 (GMT)
- To: Håkon Wium Lie <howcome@opera.com>
- Cc: Elliotte Rusty Harold <elharo@metalab.unc.edu>, "www-style@w3.org" <www-style@w3.org>
I don't want to reopen this can of worms, but in the interests of accuracy: On Tue, 20 Aug 2002, Håkon Wium Lie wrote: > Also sprach Elliotte Rusty Harold: >> All HTML tells you is that something is a paragraph, a level 1 >> heading, a table, monospaced, preformatted, and a few other things. >> <SINGER>Madonna</SINGER> is more semantic than <SPAN>Madonna</SPAN>. > > You can combine the two > <span class="singer">Madonna</span> > which preserves your semantic The semantics being strictly _nothing_ in both cases, by the way. The span element is defined to have no semantics, and the class attribute is exactly the same as XML tag names in unknown namespaces -- UAs can have no clue what they mean. An (X)HTML document consisting purely of <div> and <span> elements with class and id attributes is just as bad as a pure XML document. BTW, a key point to remember about CSS is that *it is optional*. A document should make _just_ as much sense without the CSS as with. -- Ian Hickson )\._.,--....,'``. fL "meow" /, _.. \ _\ ;`._ ,. http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 31 August 2002 13:42:26 UTC