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

<input type="hidden" />

By Jennifer Kyrnin, About.com

<input type="hidden" /> Description:

The <input type="hidden" /> tag sends form fields to the server while hiding them from the reader.

<input type="hidden" /> Web Browser Support:
<input type="hidden" /> Attributes:
  • All the attributes of the input tag, plus:
  • name (optional)
  • type="hidden"
  • value (optional)
<input type="hidden" /> Usage:
  • standard hidden field:
    <form>
    <input type="hidden" name="hideme" value="hidden" /> </form>
<input type="hidden" /> Special Notes:
  • Use the hidden field to pass along information for processing the form or for saving "state" in a CGI.
  • Remember that hidden fields can be viewed if your readers look at the source HTML, so don't use it for sensitive information such as passwords.
More <input type="hidden" /> Information:

Return to the <input /> Element
Return to XHTML Element (HTML Tags) Library

Explore Web Design / HTML
About.com Special Features

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

Easy ways to connect two computers for networking purposes. More >

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

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

All rights reserved.