W3C home > Mailing lists > Public > www-validator@w3.org > December 2008

Re: [VE][141] Add Subject Here

From: olivier Thereaux <ot@w3.org>
Date: Thu, 11 Dec 2008 11:32:33 -0500
Cc: <www-validator@w3.org>
Message-Id: <C080B3E8-493F-4CFE-BC68-B00E470D6C68@w3.org>
To: Jason <webmaster@riptidebaitandtackle.com>

Hi Jason,

On 11-Dec-08, at 11:02 AM, Jason wrote:
> Line 82, Column 19: ID "line" already defined.
> An "id" is a unique identifier. Each time this attribute is used in  
> a document it must have a different value. If you are using this  
> attribute as a hook for style sheets it may be more appropriate to  
> use classes (which group elements) than id (which are used to  
> identify exactly one element).
> Line 43, Column 19: ID "line" first defined here.

As the error message explanation says, id must be unique, that is, you  
can't have several elements with the same id. You can use class in  
that case.

HTH,
-- 
olivier
Received on Thursday, 11 December 2008 16:32:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:33 GMT