My favorites | Sign in
Project Logo
             
Search
for
Updated Apr 03, 2009 by pilgrim
Labels: about-html, is-html-element, from-w3c, about-forms
ButtonElement  
The button element represents a button in a web form.

You are here: Home > HTML Reference > Elements > button element

Usage

HTML 4 says, "Buttons created with the button element function just like buttons created with the input element, but they offer richer rendering possibilities: the button element may have content."

Attributes

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
appears in DOM Y Y Y Y Y Y Y Y
applies style Y N N Y Y Y Y Y

Watchout : IE has a very dirty implementation of the Button element, the value attribute is ignored and instead uses innerHTML.

Further reading



Sign in to add a comment
Hosted by Google Code