Orvado Technologies is your one-stop shop for custom web site solutions, quality work at affordable rates
 
orvado side

<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">Sample Button</BUTTON>
Renders As:

Compatibility

HTML 4.01
Return to HTML Tag Reference Overview

Featured Clients

Pacific Air Force

Pacific Air Force is a personal site that boasts Orvado's graphic design skills.
Site Map   Terms of Service   Privacy Policy