ATTLIST Declaration Problem

From: Ahmad, B. (
Date: Thu, Aug 12 1999

Date: Thu, 12 Aug 1999 09:41:25 -0400 (EDT)
Message-ID: <>
From: "Ahmad, B." <>
To: "''" <>
Subject: ATTLIST Declaration Problem

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