Link tag


Prev Tutorial Next Tutorial

Link tag

The <link> tag defines the relationship between a document and an external resource. The <link> tag is most used to link to style sheets. The <link> element is an empty element, it contains attributes only. This element goes only in the head section, but it can appear any number of times.

In below example image is added to this html page.

Syntax

<link rel="stylesheet" type="text/css" href="styles.css">

Browser supported

Element
<link>YesYesYesYesYes

Prev Tutorial Next Tutorial

Advertisements




Facebook Likes

Advertisements