CBSE Class 10 Computer Applications
Question 121 of 176
HTML I — Basic HTML Elements — Question 20
Back to all questions 20
Question Question 16
What is the use of <BODY> tag in HTML code ? Write any two attributes used with this tag.
The <BODY> tag defines a document's body. It contains all the contents of an HTML document, such as the text, images, lists, tables, hyperlinks etc.
The two attributes used with this tag are:
- bgcolor — It specifies the background colour of the web page.
- text — It defines the text colour of the web page.