HTML type Attribute (original) (raw)
Last Updated : 12 Jul, 2025
The type attribute in HTML specifies the type of content associated with an element, such as the button type, the media type of a source in an audio or video tag, or the type of input in a form element.
**Syntax:
**Note: This attribute has been DEPRECATED and is no longer recommended.
**Supported Tags:
| Tag name | Description |
|---|---|
| Is used to create a hyperlink on the webpage. | |
| Is used to defines an area inside an image map. | |
| Is used embeds external content like images, audio, or video. | |
| Is used to defines an input field that allows users to enter data. | |
| Is used to define a link between a document and an external resource. | |
| Is used to defines an Unordered List of items. | |
| Is used to display multimedia like audio, videos, images, PDFs, and Flash on web pages. | |
|
` **Output:
HTML | type Attribute **Supported Browsers The browser supported by HTML type attributes are listed below: |
