Re: BUTTON element

Walter Ian Kaye wrote:

> And here's a better idea:
> 
>    <INPUT TYPE=image SRC="buttonup.gif" PRESSED="buttondn.gif">
> 
> This is backwards-compatible, plus it gives the author greater control
> over how the "highlight" appears when the button is pressed. Perhaps
> this PRESSED attribute could be added to IMG/OBJECT as well?

The reason for the BUTTON element is that, unlike INPUT, it can contain
a lot more than a simple image. It can contain a whole set of blocklevel
and/or inline elements.
-- 
Arnaud Le Hors - W3C, User Interface Domain - www.w3.org/People/Arnaud

Received on Thursday, 17 July 1997 09:09:58 UTC