W3C home > Mailing lists > Public > www-html@w3.org > July 1999

RE: <BUTTON> tag

From: David Norris <kg9ae@geocities.com>
Date: Fri, 30 Jul 1999 20:30:34 -0500
To: "Aditya Hermawan" <aditya-h@mitra.net.id>
Cc: <sven.latham@snellwilcox.com>, "W3HTML" <www-html@w3.org>
Message-ID: <NABBJAELJCIBPNFJODIGIEAOFGAA.kg9ae@geocities.com>
Sven Latham:
> 'Button' doesn't require a form.

This is true!  BUTTON is allowed within A |INPUT | SELECT | TEXTAREA | LABEL

> Neither does <INPUT....> but at least button is shorter.

Huh?  INPUT definitely requires a FORM.

Aditya Hermawan:
> I want to ask what is the meaning and the use of the <BUTTON> tag? What
> is the difference between it with <INPUT TYPE="submit">, can it be used

Have you read the W3C's HTML 4.0 specs?  It states quite clearly the
differences between BUTTON and INPUT.  Basically, BUTTON has content and
INPUT is empty.  (e.g. <BUTTON>Some HTML on the button face!<IMG
src="abouttime.jpeg"></BUTTON> versus <INPUT>)

Read the HTML Specs concerning BUTTON:

,David Norris

World Wide Web - http://www.geocities.com/CapeCanaveral/Lab/1652/
Home Computer - http://illusionary.tzo.cc/
Page via mail - 412039@pager.mirabilis.com
ICQ Universal Internet Number - 412039
E-Mail - kg9ae@geocities.com
Received on Friday, 30 July 1999 21:26:07 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:51 UTC