CBSE Class 10 Computer Applications Question 37 of 37

Cascading Style Sheets (CSS) — Question 17

Back to all questions
17
Question

Question 17

Where do you place the code to associate a Web page with an external style sheet ?

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.