fill in the blanks
which property is used to set background color in your webpage
Share
fill in the blanks
which property is used to set background color in your webpage
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
The background-color property sets the background color of an element. The background of an element is the total size of the element, including padding and border (but not the margin).
Explanation:
To set the background color in HTML, use the style attribute. The style attribute specifies an inline style for an element. The attribute is used with the HTML <body> tag, with the CSS property background-color. HTML5 do not support the <body> tag bgcolor attribute, so the CSS style is used to add background color.
Hope this will help you
Mark me as brilliant