W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] Definition of alt= attribute

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Thu, 19 Jan 2006 11:44:29 +0100
Message-ID: <20060119114429.1v975zmvxihw480o@webmail.annevankesteren.nl>
Quoting Alexey Feldgendler <alexey at feldgendler.ru>:
> 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.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Thursday, 19 January 2006 02:44:29 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:25 UTC