[whatwg] Definition of alt= attribute
Alexey Feldgendler
alexey at feldgendler.ru
Thu Jan 19 03:01:45 PST 2006
On Thu, 19 Jan 2006 16:44:29 +0600, Anne van Kesteren
<fora at annevankesteren.nl> wrote:
>> I wonder why alt is a required attribute for IMG in HTML while an
>> empty value is allowed.
> Because an empty value means that there is no alternate text and no
> attribute at
> all means that alternate text is missing. (Which is clearly not what you
> want.)
The same could be said about title="", for example:
"An empty value means that there is no title, and no attribute at all
means that the title is missing." But HTML doesn't declare the title
attribute as required.
--
Opera M2 8.5 on Debian Linux 2.6.12-1-k7
* Origin: X-Man's Station [ICQ: 115226275] <alexey at feldgendler.ru>
More information about the whatwg
mailing list