HTML <a> type Attribuut
Voorbeeld
Het type attribuut specificeert het mediatype van het gekoppelde document:
<a href="https://www.w3schools.com" type="text/html">W3Schools</a>
Definitie en gebruik
Het type
attribuut specificeert het internetmediatype (voorheen bekend als MIME-type) van het gekoppelde document.
Dit attribuut wordt alleen gebruikt als het href
attribuut is ingesteld.
Opmerking: dit kenmerk is puur adviserend.
Browserondersteuning
Attribute | |||||
---|---|---|---|---|---|
type | Yes | Yes | Yes | Yes | Yes |
Syntaxis
<a type="media_type">
Attribuutwaarden
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. |
❮ HTML <a>-tag