HTML Link type attribute


In the following example, the type attribute indicates that the linked document is a style sheet:
<link rel="stylesheet" type="text/css" href="theme.css" />

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.


<link type="value" />

Attribute Values

Value Description
MIME_type The MIME type of the linked document.
HTML Link type attribute Reviewed by 1000sourcecodes on 02:20 Rating: 5
Powered by Blogger.