<input type=button> — NN 2, 3, 4, 6 MSIE 2, 3, 4, 5.5, 6 HTML 4.01 WebTV Opera5


                  <input type=button> 
                  (no end tag)

Creates a customizable"push” button. Customizable buttons have no specific behavior but can be used to trigger functions created with JavaScript controls. Data from type=button controls is never sent with a form when a form is submitted to the server; these button controls are only for use with script programs on the browser.


%coreattrs, %i18n, %events, onblur, onfocus, onselect, onchange

name= string

Required. Assigns a name to the push button control. A script program uses this name to reference this control.

value= string

Required. Specifies the value for this control.

Get HTML Pocket Reference, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.