On Thu, 19 Jan 2006 16:44:29 +0600, Anne van Kesteren <[EMAIL PROTECTED]> 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] <[EMAIL PROTECTED]>

Reply via email to