W3C home > Mailing lists > Public > www-validator@w3.org > August 1999

ATTLIST Declaration Problem

From: Ahmad, B. <b.ahmad@ic.ac.uk>
Date: Thu, 12 Aug 1999 09:41:25 -0400 (EDT)
Message-ID: <0846B011B9A4D111A1EE006097DA4FCE01DF9420@icex1.cc.ic.ac.uk>
To: "'www-validator@w3.org'" <www-validator@w3.org>
I want to allow the <img> element to take an additional attribute called
"name". I have set the following declaration,

<!attlist img name cdata #implied>

but I am not sure whether I have placed it in the correct location, and, as
a result, the name attribute within the <img> element is not recognised by
W3C's validator.

Does anyone have any suggestions as to how to solve this problem? Thanks.

B. Ahmad
Received on Thursday, 12 August 1999 13:39:36 GMT

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