HTML CODE- blogger background

This article provides code for setting the background properties of an HTML element.
These examples use Cascading Style Sheets (CSS). Using CSS, you can set the background properties of any HTML element. Plus you can do things like, specify an image’s position, whether it should repeat, how it should repeat etc.

Background Color

You can set the background color of any HTML element using the background-color property.
<div style="background-color:GreenYellow;width:200px;border:1px solid black;padding:15px;">
<p>HTML background code is actually CSS!</p>
</div>

Be the first to comment

Leave a Reply

Your email address will not be published.


*