Re: BUTTON element

Walter Ian Kaye (
Tue, 15 Jul 1997 22:37:30 -0700

Message-Id: <v0310282baff20cf1c06e@[]>
In-Reply-To: <>
Date: Tue, 15 Jul 1997 22:37:30 -0700
From: Walter Ian Kaye <>
Subject: Re: BUTTON element

At 11:49p -0400 07/15/97, Liam Quinn wrote:
 > I'm a bit confused by HTML 4.0's introduction of the BUTTON element.  It
 > seems to me that this element is new, unsupported, not backwards-
 > compatible, and presentation-based.  The HTML 4.0 draft describes it as
 > follows:
 > - ----
 > A BUTTON element whose type is "submit" and whose content is an image
 > (e.g., the IMG element) is very similar to an INPUT element whose type is
 > "image". They both cause a form to be submitted, but their presentation is
 > different. In this context, an INPUT element is supposed to be rendered as
 > a "flat" image, while a BUTTON is supposed to be rendered as a button
 > (e.g., with relief and an up/down motion when clicked).
 > - ----<URL:>----
 > Declaring how elements are "supposed to be rendered" seems strange given
 > the draft's overall emphasis on platform independence and structural
 > markup.

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?

  Walter Ian Kaye <boo_at_best*com>    Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML     Musician - Guitarist, Songwriter