when to use body tag html code example
Example 1: html body tage
<!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>