Set 65 Practical Question

⭐ Q15 – Page with Background Image + Background Color

Example Code (Read Only):


<!DOCTYPE html>
<html>
<head>
<title>Background Example</title>

<style>
body{
    background-color: lightblue;
    background-image: url("bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}
</style>

</head>
<body>

<h2>Background Example</h2>
<p>This page has background image and color.</p>

</body>
</html>

Write Your HTML / JavaScript Code