HTML link Tag

Example

Link to an external style sheet:
<head>
<link rel="stylesheet" type="text/css" href="theme.css">
</head>

Teach Yourself  by BH24 HTML Editor Tool!

When used for style sheets, the <link> tag is supported in all major browsers. No real support for anything else.

Definition and Usage

The <link> tag defines the relationship between a document and an external resource.
The <link> tag is most used to link to style sheets.

Note: The <link> element is an empty element, it contains attributes only.
Note:  This element goes only in the head section, but it can appear any number of times.