CSS Background Color With Different Elements Example :
<!DOCTYPE html>
<html>
<head>
<title> kod4u </title>
<style type="text/css">
h1 {
background-color: yellow;
}
p {
background-color: lightgreen;
}
</style>
</head>
<body>
<h1> Background Color With Different Elements Example </h1>
<p> Here we give background color in different HTML elements. </p>
</body>
</html>
OUTPUT
<html>
<head>
<title> kod4u </title>
<style type="text/css">
h1 {
background-color: yellow;
}
p {
background-color: lightgreen;
}
</style>
</head>
<body>
<h1> Background Color With Different Elements Example </h1>
<p> Here we give background color in different HTML elements. </p>
</body>
</html>
No comments:
Post a Comment