Problem in HTML specs

Jordan Reiter (jreiter@mail.slc.edu)
Sun, 7 Sep 1997 23:12:25 -0500


Message-Id: <l03110700b0392ad5eec1@[192.168.1.117]>
Date: Sun, 7 Sep 1997 23:12:25 -0500
To: www-html@w3.org
From: Jordan Reiter <jreiter@mail.slc.edu>
Subject: Problem in HTML specs

One clear error that I see countless times is an innacurate use of the id
element when defining styles.  It is constantly being treated as identical
to class, ie:
	<HEAD>
	<STYLE type="text/css">
	H1.wood {text-align: center}
	</STYLE>
	</HEAD>
	<H1 id="wood"> How to Carve Wood </H1>
(from the HTML spec on alignment [1], the third example given below the header)

"id" should be replaced with "class", right?

[1] http://www.w3.org/TR/WD-html40/present/graphics.html#h-8.2.1.2

--------------------------------------------------------
[                    Jordan Reiter                     ]
[            mailto:jreiter@mail.slc.edu               ]
[ "You can't just say, 'I don't want to get involved.' ]
[  The universe got you involved."  --Hal Lipset, P.I. ]
--------------------------------------------------------