HTML Background Color Explain
The background-color property defines the background color for an HTML element:
This example sets the background for a page to lightgrey.
Html Code:
<!DOCTYPE html>
<html>
<body style="background-color:lightgrey;">
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
Post a Comment