W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2002

RE: images used as form submit buttons

From: Jon Hanna <jon@spin.ie>
Date: Fri, 24 May 2002 16:40:41 +0100
To: <w3c-wai-ig@w3.org>
Message-ID: <NDBBLCBLIMDOPKMOPHLHKEGFEBAA.jon@spin.ie>
> I have got it into my head that having an alt and width/height
> for an image
> input wasn't valid html (html 4.01). Am I wrong

Yes, you're wrong. http://www.w3.org/TR/html4/interact/forms.html#edef-INPUT
allows for alt. It doesn't allow for the width and height attributes that
you can use on <img> but they are deprecated anyway, use style="height:
100px; width: 100px;" etc.
Received on Friday, 24 May 2002 11:40:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:04 GMT