1. Computing & Technology

Discuss in my forum

type - HTML Attribute

By , About.com Guide

type:

The type attribute is used on form controls to define the type of form control to create. It lets BUTTON tags act like submit, reset, and button INPUT tags. And it defines 10 different types of INPUT tags.

Used with Tags:

Content:

BUTTON Tag Values

button | reset | submit

INPUT Tag Values

button | checkbox | file | hidden | image | password | radio | reset | submit | text

Default:

BUTTON Tag Default

submit

INPUT Tag Default

text

Deprecated in XHTML 1.0:

No

DTD:

HTML 4.01 Standard
XHTML 1.0 Standard
HTML 5

©2012 About.com. All rights reserved.

A part of The New York Times Company.