W3C home > Mailing lists > Public > www-html@w3.org > August 2005

(no subject)

From: Dustin <gohankid77@gmail.com>
Date: Thu, 18 Aug 2005 00:02:28 -0500
Message-ID: <72ab364a05081722022c14d6c1@mail.gmail.com>
To: W3C Mailing Archives <www-html@w3.org>
On 8/17/05, David Woolley <david@djwhome.demon.co.uk> wrote:
> 
> 
> > <img src="enter.gif">
> 
> As well as being off topic, that's not valid HTML!
> 
> 
How is that not valid HTML? If you mean the @alt attribute or the @longdesc 
attribute is missing, it isn't valid due to accessibility reasons. 
Accessibility is mandatory in some countries, but in others, it is not. Even 
if you don't have one or both of those attributes, it is still considered 
standard-compliant code, depending on your location in the world and your 
personal coding preferences. If you omit them, most user-agents will not 
stop rendering the page (and/or the image). The image will still be rendered 
usually, regardless of whether the tag's contents consist of the image's 
path.
Received on Thursday, 18 August 2005 05:02:34 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:04 GMT