In the following example, the type attribute indicates that the linked document is an external style sheet:
![]()
The type attribute is supported in all major browsers.
The type attribute specifies the MIME type of the linked document/resource.
This attribute is only used if the href attribute is set.
A very common MIME type for <link> is "text/css", which specifies a style sheet.
NONE.
| Value | Description |
|---|---|
| MIME_type | The MIME type of the linked document. Look at IANA MIME types for a complete list of standard MIME types |
HTML <link> tag
Your message has been sent to W3Schools.