Search This Blog

CSS Background Color With Different Elements Example

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
CSS Background Color With Different Elements Example

No comments:

Post a Comment