How to Make a CSS Linker
The HTML "link" tag links a CSS file in your pages so you can use the CSS classes in the design and layout of your pages. CSS files contain a list of classes that set up the colors, fonts and dynamic images for your pages. CSS class files make it more convenient to link classes so you do not need to edit or type the classes in every HTML page. Instead you link one CSS file with one line of HTML code which makes Web page creation easier for developers.
Instructions
-
-
1
Right-click the HTML page you want to use to link to the CSS file. Click "Open With" and select your preferred HTML editor.
-
2
Locate the "head" section of the HTML code. The "head" tags are located directly above the "body" tag which is where all of the HTML content is located. The "head" tag is generally at the very top of your HTML code.
-
-
3
Add the link tag. The following code shows you how to link to a file named "styles.css":
<link rel="stylesheet" href="style.css" TYPE="text/css">
Change the "href" property value to the name of your own CSS file. If you have multiple CSS files you can continue adding link tags to each CSS file you want to use in the HTML file.
-
1