Home  |  Latest News  |  Contribute  |  F.A.Q.  |  Account  |  Scripts | About
Search ASPNut:
 
ASP Reference
Server Variables
ASP Glossary
Related Sites

Free Components

HTML Reference
Web Colors
Entities
CSS Level 1
Encode/Decode
Glossary

Our Sponsors
ASP Nuke CMS
Free Auctions
PHP 5 Script
Funktastic Blog
ULost Directory
Team Task

 

 

 

 

 

 

 

 

 

 

 

 

<BUTTON>

The button element allows you to create a push button on a web page. Buttons are primarily used in conjunction with client-side scripting such as JavaScript to perform an action. Otherwise, they are pretty useless except for display a prototype of an interface.

Unline SUBMIT buttons, the BUTTON element will appear on the web page regardless of whether it is contained within a FORM element or not.

Attributes

Attribute Description
ID Identifies this tag to reference in script (program code)
CLASS Define the class used to render this element (defined by a style sheet)
TITLE A title that is associated with the element (displayed as a tooltip in Internet Explorer)
NAME Defines the name that will be used to reference this element in the Document Object Model (DOM)
TYPE Must be defined as BUTTON for this type of input
VALUE Defines the label which is affixed to the button and is displayed to the user
DISABLED Presence of this attributes indicates the button cannot be clicked
TABINDEX Indicates the "tab order" for keyboard navigation of the web page input controls

Example

<BUTTON> name="submit" value="submit" type="submit"> Send </BUTTON>

Renders As:

Compatibility

HTML 4.01

Return to HTML Tag Reference Overview

Orvado Technologies

ASP Nuke CMS
Free Open Source
Content Manager
HomeFix Boards
Home Remodeling
Message Boards

Contact Us | Contribute | About | Site Map



"Democracy consists of choosing your dictators, after they've told you what it is you want to hear." - Alan Coren

©2007 Orvado Technologies, All Rights Reserved
ASP Nut provides articles and reference documentation for Active Server Page developers.