Tables can also be given HTML background colors. Get access to ad-free content, doubt assistance and more! The attribute is used with the HTML tag, with the CSS property background-color. The box's background color is set by changing the value of the CSS background-color property to rgb(245, 130, 130). the default background color value of an HTML element ; how to change the background color of a div, which is a very common element; which parts of the CSS box model are affected by the background-color property, and; the different values this property can take. Somewhere along the line, a background-color got set on the html element. Every color has a specific name like red, yellow, black, etc. Found inside – Page 7In your text editor (I'm using Windows NotePad), type in the following:

Paragraph l