HTML/input
From DocForge
< HTML
An input element within an HTML document represents a basic field of data within a form. The data may be displayed to the user through one of a variety of controls or hidden.
An input element can be placed within form and fieldset elements.
[edit] Attributes
- name - Key of the data within the form.
- value - Default value of input.
- type - Defines the type of input. The value must be one of:
- button
- checkbox
- file - File upload
- hidden
- image
- password - Text input field with value hidden from display.
- radio - One of multiple radio buttons. Multiple radio input buttons with the same name attribute can only have one value selected at a time. This is enforced by the web browser.
- reset - Reset the form to default values
- submit - Submit button; when clicked the form is submitted
- text - Displays a single-line text input box (default)
[edit] See Also
Do you have information or insights to contribute to this article? Please feel free to edit this page. Ask questions or contribute to the discussion on this article's talk page.

