DEV Community

Cover image for Body tag - HTML
Melina Caroline Bernard
Melina Caroline Bernard

Posted on

Body tag - HTML

•The <body> container tag is used to group everything that gets displayed on a web page when loaded in a browser. 

All the content elements that you need to display (like paragraphs, headings, buttons and images) need to be inside the <body> container tag.

💡Fun Fact
A web page can contain only one body element.

Body tags are needed for your page to be compatible with all web browsers.

Top comments (0)