Adding Background color to Headings | using CSS
To
add a background color to any element including heading use the
background-color property.
<html>
<h1>My heading</h1>
</html>
CSS
will look like this
<style>
h1{ background-color:blue;}
</style>
Comments
Post a Comment
Thanks for Visiting for any questions or suggestions please comment below
Cheers,