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

Input Tag Attributes
HTML Forms Tutorial

By , About.com Guide

There are several different types of <input/> elements, and depending upon the type you use, you'll need different attributes.

< input type="button"/>

Required attributes

Optional attributes

< input type="checkbox"/>

Required attributes

Optional attributes

< input type="file"/>

Required attributes

Optional attributes

< input type="hidden"/>

Required attributes

Optional attributes

  • none

< input type="image"/>

Required attributes

Optional attributes

< input type="password"/>

Required attributes

Optional attributes

< input type="radio"/>

Required attributes

Optional attributes

< input type="reset"/>

Required attributes

  • none

Optional attributes

< input type="submit"/>

Required attributes

  • none

Optional attributes

< input type="text"/>

Required attributes

Optional attributes

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.