HTML a type attribute
Examples
type attribute specifies the link pointing to the document mime type:
<a href="http://www.w3big.com/" type="text/html">w3big.com</a>
try it"
Browser Support
All major browsers support the type attribute.
Definition and Usage
type attribute specifies the MIME type of the target document.
It can only be used when href attribute is present.
Differences between HTML 4.01 and HTML5
The property is a new property in <a> HTML5 elements.
grammar
<a type="MIME_type">
Property Value
Operators | description |
---|---|
MIME_type | MIME type of the linked document. |