The <link> Tag
<link rel="stylesheet" type="text/css" href="#" / >
It is necessary to tell the browser to use the style defined within the document. To do this, you will add the “link element” (<link />
) inside the document’s head element. Just like the style element, the link element is typically placed near or at the end of the head element. The link element is an empty element, so it only requires a single tag.
NOTE: Linking more than one CSS document requires including multiple link elements. This is common for larger sites.
- Previous
- Next