what is body used for in html code example
Example 1: html body tag
<!DOCTYPE html>
<html>
<body>
<!--This is the HTML Body tag.-->
</body>
</html>
Example 2: html body tag
<body>
<!-- this is the body,the body
lement contains all the contents of an HTML document,
such as headings, paragraphs, images, hyperlinks, tables,
lists, etc -->
</body>