- From: Chris Lilley <chris@w3.org>
- Date: Wed, 13 May 1998 01:41:08 +0200
- To: Todd Fahrner <todd@lowbrow.com>
- CC: Carl Johan Berglund <carl.johan.berglund@adverb.se>, "Martin Skj?ldebrand" <chimbis@bahnhof.se>, www-style@w3.org
Todd Fahrner wrote: > > Thus spake Carl Johan Berglund: > > > I don't see a case when you can use an id and can not use a class, though. > > This seems to be the main point of confusion. Why not just come up with a > unique classname and use it only once?... You can link to an id, using a client-side specialiser: http://site/foo/bar.html#baz links to the element with ID=baz. You can't do that with class because (until XLink and XPointer are more widely deployed) you can't have multi-head and multi-tail links. Class and id are not the same, although clearly there are similarities. -- Chris
Received on Tuesday, 12 May 1998 19:42:24 UTC