RE: images used as form submit buttons

> 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