February 2006
Intermediate to advanced
826 pages
63h 42m
English
This button (type="button") has no predefined function, but rather is a generic tool that can be customized with a scripting language such as JavaScript (the scripting language should be declared with a meta element). Use the value attribute to write your own text on the button, as shown in the following markup and in Figure 15-8. The data from a type="button" input element is never sent when a form is submitted; this type is useful only with script programs on the browser.
<p>This does something really exciting.</p>
<input type="button" value="Push Me!" />
Figure 15-8. Custom button