Example In the following example, the type attribute indicates that the linked document is a style sheet: <head> <link rel...
Example
In the following example, the type attribute indicates that the linked document is a style sheet:<head> <link rel="stylesheet" type="text/css" href="theme.css" /> </head> |
Definition and Usage
The type attribute specifies the MIME type of the linked document.The most common MIME type for this attribute is "text/css", which describes a style sheet.
Browser Support
The type attribute is supported in all major browsers.Syntax
<link type="value" /> |
Attribute Values
Value | Description |
---|---|
MIME_type | The MIME type of the linked document. |