CSS External CSS Example :
<!DOCTYPE html>
<html>
<head>
<title> kod4u </title>
<link href="css/style1.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<h1> External CSS Example </h1>
<p> This is External CSS program. When we make the External CSS file then we easy to link it many web pages. </p>
<p> External CSS file can reduce code in web pages. </p>
</body>
</html>
II style1.css File<html>
<head>
<title> kod4u </title>
<link href="css/style1.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<h1> External CSS Example </h1>
<p> This is External CSS program. When we make the External CSS file then we easy to link it many web pages. </p>
<p> External CSS file can reduce code in web pages. </p>
</body>
</html>
h1{
color:red;
}
p{
color:blue;
font-size:20px;
}
OUTPUTcolor:red;
}
p{
color:blue;
font-size:20px;
}
No comments:
Post a Comment