Problem in HTML specs

Jordan Reiter writes:

 > 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?

Right.

-h&kon

H   å   k   o   n      W   i   u   m       L   i   e
howcome@w3.org      http://www.w3.org/people/howcome
World     W      i     d     e       Web  Consortium

Received on Monday, 8 September 1997 04:23:31 UTC