Re: Problem in HTML specs

Dave Raggett (dsr@w3.org)
Mon, 8 Sep 1997 09:15:27 -0400 ()


Date: Mon, 8 Sep 1997 09:15:27 -0400 ()
From: Dave Raggett <dsr@w3.org>
To: Jordan Reiter <jreiter@mail.slc.edu>
cc: www-html@w3.org
In-Reply-To: <l03110700b0392ad5eec1@[192.168.1.117]>
Message-ID: <Pine.WNT.3.95.970908091406.-173877F-100000@hazel.corp.adobe.com>
Subject: 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)