Re: BUTTON element
Arnaud Le Hors (lehors@w3.org)
Thu, 17 Jul 1997 15:09:33 +0200
Message-ID: <33CE198D.1652035D@w3.org>
Date: Thu, 17 Jul 1997 15:09:33 +0200
From: Arnaud Le Hors <lehors@w3.org>
To: Walter Ian Kaye <walter@natural-innovations.com>
CC: www-html@w3.org
Subject: 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