What are the attributes which important for binding a .css file using the <link> tag?
Explanation

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

The tag defines a link between a document and an external resource.
The <link> tag is used to link to external style sheets.
When used for style sheets, the <link> tag is supported in all major browsers. No real support for anything else.
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.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback