Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

<input />

By Jennifer Kyrnin, About.com

<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:

<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.

More <input /> Information:

Explore Web Design / HTML

More from About.com

Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML and XHTML
  5. XHTML
  6. HTML Tags
  7. The input Element - form input - XHTML 1.0 HTML 4.0

©2008 About.com, a part of The New York Times Company.

All rights reserved.