Advertisements
Advertisements
Question
In HTML, the bgcolor attribute is used to ______.
Options
Set the background color of the webpage.
Set the text color of the webpage.
Set the background image of the webpage.
Set the background text of the webpage.
MCQ
Fill in the Blanks
Advertisements
Solution
In HTML, the bgcolor attribute is used to set the background color of the webpage.
Explanation:
In HTML, the bgcolor attribute is used to set the background color of a webpage or a specific HTML element like <body>, <table>, or <td>.
Example:
<body bgcolor="lightblue">shaalaa.com
Is there an error in this question or solution?
