Plz help me to make this external style program from css.
Answers
Answer:
<html>
<head>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Explanation:
Copy your css code and create new css file named as styles. css and save it in same location where ur html code saved
Answer:
Explanation:
I explain you in a very simple way.
Step:-1 Make a new file in your working folder and then rename it as style.css
Step:-2 Open style.css
Step:-3 Write the following code
body
{
bgcolor:peach;
}
h1
{
font-family:'chiller';
color:blue;
text-align:center;
}
p
{
font-family:'cooper';
}
Step:-4 Link the external stylesheet in your html file by copy the following code and paste it in between the head tags.
<link rel="stylesheet" type="text/css" href="style.css" />
Step:-5 Run your html file in browser and see the results.