Name the property used to specify the background color of an element.


The background-color property is used to specify the background color of the element. For example:

<style>    
h2,p{    
    background-color: #b0d4de;    
}    
</style>  
   

Leave a Reply

Your email address will not be published. Required fields are marked *