Linking to CSS Style Sheets from HTML file

You can link from an HTML file to CSS style sheets  by using the LINK html element


<LINK REL=StyleSheet HREF="style.css" TYPE="text/css">

The HTML <LINK> tag must be placed in the head section of your HTML file. A number of attributes, most commonly the three attributes shown here, are used to provide details of the link to the CSS style sheet:

REL – this attribute specifies the relationship between the HTML and CSS stylesheet file

HREF- this attribute specifies the URL link to the Cascading Style Sheet (CSS) file

TYPE – this attribute specifies the media type for the CSS file

External style sheets must NOT contain any HTML tags eg, <HTML>, <STYLE>.