Advertisements
Advertisements
Question
Where do you place the code to associate a Web page with an external style sheet?
Code Writing
Short Answer
Advertisements
Solution
In order to link a webpage to an external style sheet, we insert the following code in the head tag:
<head>
<link rel="stylesheet" type="text/css" href="sample.css">
</head>
where sample.css is the name of the CSS file.
shaalaa.com
Is there an error in this question or solution?
