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>
> 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 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:19 UTC