<input /> Description:
The <input /> element is used to input data to Web servers using Web forms.
<input /> Web Browser Support:
Depends upon the type (below).
<input /> Attributes:
- accept (optional)
- accesskey (optional)
- alt (optional)
- align (optional)
- checked (optional)
- class (optional)
- dir (optional)
- disabled (optional)
- id (optional)
- lang (optional)
- maxlength (optional)
- name (optional)
- onblur (optional)
- onclick (optional)
- onchange (optional)
- ondblclick (optional)
- onfocus (optional)
- onkeydown (optional)
- onkeypress (optional)
- onkeyup (optional)
- onmousedown (optional)
- onmousemove (optional)
- onmouseout (optional)
- onmouseover (optional)
- onmouseup (optional)
- onselect (optional)
- size
- src (optional)
- style (optional)
- tabindex (optional)
- title (optional)
- type (optional)
- usestyle (optional) (WebTV)
- value (optional)
<input /> End Tag:
Singleton tag<input /> Contents:
The <input /> tag is a singleton tag and has no contents.
<input /> Valid Context:
The <input /> tag is valid within the following tags:
- a
- acronym
- address
- applet
- b
- bdo
- big
- blockquote
- body
- caption
- center
- cite
- code
- dd
- del
- dfn
- div
- dt
- em
- fieldset
- font
- form
- h1
- h2
- h3
- h4
- h5
- h6
- i
- iframe
- ins
- kbd
- label
- legend
- li
- noframes
- noscript
- object
- p
- pre
- q
- s
- samp
- small
- span
- strike
- sub
- sup
- td
- th
- tt
- u
- var
<input /> Usage:
An example of each type is shown on the corresponding information page:
<input /> Special Notes:
The input tag is the primary method of getting information from the readers to the Web server.

