body tag



Body tag encloses the entire contents, coding related areas, elements and rest of features placed by the user.

Example Code:

Result :


Main Content
  • This tag must be placed between <head> and <html>.
  • It is mandatory to use this tag. Without the body portion a document cannot be formed.
It is available in the previous versions of HTML. But it was deprecated in HTML 4.01.
It supports both Global Attributes and Event Attributes in HTML5.


It will function in all major browsers.

Ask Questions

Ask Question