The type attribute specifies the media type of the target URL:
The type attribute specifies the Internet media type (formerly known as MIME type) of the target URL.
This attribute is only used if the href attribute is set.
Note: This attribute is purely advisory.
Attribute | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
The type attribute is new for the <area> tag in HTML5.
Value | Description |
---|---|
media_type | The Internet media type of the linked document. Look at IANA Media Types for a complete list of standard media types. |