type Attributetype Attribute(submit | button | reset) - default="submit":type is declared on the element: button(text | password | checkbox | radio | file | hidden | image | button | submit | reset) - default="text":type is declared on the element: inputtype is declared on the elements: style, scripttype is declared on the elements: link, a, object, paramThe type attribute may be used on form
controls (input and
button) to specify the type of control or button to be created.
In other contexts, the type attribute is used to specify a ContentType.
For example, on a hyperlink (a or
link), the type
attribute may be used to indicate the MIME type
of the target resource. On a style or
script element, it is #REQUIRED and should specify
the MIME type of the style sheet or scripting language, respectively.
For an object element, the type
attribute specifies the MIME type of the object's data and, for a param
element, it specifies the MIME type of the run-time resource (when valuetype="ref").