Name
TYPE — NN all IE all HTML all
Synopsis
TYPE=”elementType"
Required
Advises the browser how to render the INPUT
element (or even whether the element should be rendered at all).
Possible choices are as follows:
Type |
Description |
---|---|
button |
A clickable button whose action must be scripted. Its label is
assigned by the |
checkbox |
A free-standing checkbox that provides two states (active and
inactive). Its label is created by HTML text before or after the
|
file |
A button and field that lets the user select a local file for eventual uploading to the server. A click of the button generates a File dialog, and the name (or pathname) of the selected file appears in the field. The server must have a CGI script running to accept the incoming file at submission time. |
hidden |
An invisible field often used to carry over database or state data from submission to submission without bothering the user with its content (or having to store the temporary data on the server). The name/value pair is submitted with the form. |
image |
A graphical button whose sole action is to submit the form. The
coordinate points x,y of the click on the image are submitted as two
name/value pairs: |
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.