Re: Problem in HTML specs

On Sun, 7 Sep 1997, Jordan Reiter wrote:

> 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

You are quite right - a simple typo which we will fix in the
next public draft.

Regards,

-- Dave Raggett <dsr@w3.org> http://www.w3.org/People/Raggett
phone: +44 122 578 2521 (office) +44 385 320 444 (gsm mobile)
World Wide Web Consortium (on assignment from HP Labs)

Received on Monday, 8 September 1997 09:16:39 UTC