HTML5 <body> Tag


A simple HTML document, with the minimum of required tags:

<title>Title of the document</title>

The content of the document......


Try it yourself »

Definition and Usage

The <body> tag defines the document's body.

The body element contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.

Differences Between HTML 4.01 and HTML5

In HTML5 all <body> specific attributes are removed, while in HTML 4.01 they were deprecated.

Standard Attributes

The <body> tag also supports the Standard Attributes in HTML5.

Event Attributes

The <body> tag also supports the Event Attributes in HTML5.