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:
><tr><td>Flansche, 10 cm für hohe Modulkasten<br>
><a href="../module/images/alubein.jpg" alt="Foto eines Flansches"
>ALT='Foto eines Flansches' >Foto</a></td><td>Paar</td><td>5,50 EUR</td></tr>

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
Received on Wednesday, 10 September 2003 12:03:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:38 UTC