external style sheet
External styles are used for the whole, multiple-page website. There is a separate CSS file, which will simply look something like:
p{
color: red; }
a{
color: blue;}
If this file is saved as “style.css” in the same directory as your HTML page then it can be linked to in the HTML like this:
<html>
<head>
<title>CSS Example</title>
<link rel="stylesheet"href="style.css">
External style sheets enable you to change the appearance and layout of all the pages in a Web site, just by editing one single file.
0 মন্তব্য(গুলি):
একটি মন্তব্য পোস্ট করুন
Comment below if you have any questions