Use of the BODY tag in HTML code.

Q15. What is the use of the <BODY> tag in HTML code? Write any two attributes used with this tag.

Ans. BODY tag includes all the tags, attributes, and information that is to be displayed on the Web page. Whatever we see on a Web page is enclosed within the <BODY> and </BODY> tags.


Bgcolor, background are attributes of BODY tag.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: