Computer Science, asked by jay0123, 1 year ago

PLEASE ANSWER..... Explain the use of body tag.

give full answer...​

Answers

Answered by ritikraj200490
2

One way to define the body of the HTML document is to show what is not included in it. One example of an HTML code module that exists outside of the body is the HTML head. The HTML head also has a similar opening and closing tag structure. The HTML head comes before the HTML body, and contains elements like the HTML title.

Nearly all of the other familiar HTML code structures for images, text, video, tables, and other items are all included in the body of the HTML document. The HTML body represents the entire web page as a code unit. This makes it easy to understand where to open and close the HTML body.

Answered by khushi1226
4
When writing in HTML, the <body> tag is used to contain a web page's content, including hyperlinks, images, tables, text, etc. It is required in every HTML document, and there may only be one <body> tag per page. The following sections contain information about this tag, including related attributes and browser compatibility.

Example of body tag in HTML.

Deprecated attributes.

Compatibility.

Related pages.

Example of the body tag in HTML

Below is an example of HTML with the body tag and its contents highlighted in bold text

Similar questions