Computer Applications
Where do you place the code to associate a Web page with an external style sheet ?
CSS
10 Likes
Answer
To associate a Web page with an external style sheet, we place the code in the head tag in the following manner :
<HEAD>
<LINK REL = "STYLE SHEET" TYPE = "TEXT/CSS" HREF = "SAMPLE.CSS">
</HEAD>
where, sample.css is the name of the CSS file.
Answered By
5 Likes
Related Questions
What are three ways of creating style rules? Give examples of each.
What is the Cascading order of different style types ?
How do you add a background color for all
<h1>elements?How do you display a border like this :
The top border = 10 pixels The bottom border = 5 pixels The left border = 20 pixels The right border = 1pixel