explain the uses of the <BODY> tag and its various attributes?
Answers
Answer:
Attributes: There are many attributes in the <body> tag which are depreciated from HTML5 are listed below:
background: It contains the URL of the background image. It is used to set the background image.bgcolor: It is used to specify the background color of an image.alink: It is used to specify the color of the active link.link: It is used to specify the color of visited links.text: It specifies the color of the text in a document.vlink: It specifies the color of visited links.
Example : Using HTML body tag. All then content placed inside the body tag.
Answer:
There are many attributes in the <body> tag which are depreciated from HTML5 are listed below: background: It contains the URL of the background image. It is used to set the background image. bgcolor: It is used to specify the background color of an image.