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

<input />

By , About.com Guide

<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
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

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

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

All rights reserved.