W3C home > Mailing lists > Public > www-validator@w3.org > September 2003

Re: ALT Attribute with <A HREF> - please check

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 10 Sep 2003 18:03:35 +0200
To: Carsten Möller <C.Moeller@WMCO.de>
Cc: "'www-validator@w3.org'" <www-validator@w3.org>
Message-ID: <3f654a8b.965702857@smtp.bjoern.hoehrmann.de>

* Carsten Möller wrote:
>quote
><tr><td>Flansche, 10 cm für hohe Modulkasten<br>
><a href="../module/images/alubein.jpg" alt="Foto eines Flansches"
>target="bein"
>ALT='Foto eines Flansches' >Foto</a></td><td>Paar</td><td>5,50 EUR</td></tr>
>unquote

alt is not allowed for <a> elements and duplicate attribute
specifications are never allowed. Remove both and the validator
will no longer complain about the document. The 'alt' attribute
is meant alternative text for <img> elements, not for links to
images.
Received on Wednesday, 10 September 2003 12:03:46 GMT

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