Latest

recent

HTML Link type attribute

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.
HTML Link type attribute Reviewed by 1000sourcecodes on 02:20 Rating: 5
Powered by Blogger.