<html><body> - HTML Body Section


ATTENTION: THIS PAGE IS Valid HTML 5 AND IS BEST VIEWED WITH HTML 5 - Please upgrade your browser or download one of the HTML 5 compatible browsers such as Mozilla Firefox, Chrome, Opera or IE 9 (March 14, 2011 or later). For more information see HTML 5 browsers.

If you find this helpful, please click the Google +1 Button to the left, if it is white, to make it turn blue or red. Thank you! (It also helps find this page again more easily.)

PDF mobile

HTML <body> Section

The HTML body section contains the actual content of the document. It is created by the <body> tag, which is coded inside the html element at the top of the HTML structure.

The <body> tag is one of the sectioning root tags, which means that the sections and headings inside the body element are not included in the outline of any higher level sections. Its purpose is to separate the content of the document from meta data information that is coded in the head section of the document.

Content Model of <body> Tag

The expected content of the <body> tag consists of HTML elements categorized as flow content elements but can also accept elements categorized as phrasing content elements. Therefore the body element can include HTML comments, text content and any tags that can be used in flow content.

Flow Content vs. Phrasing Content

When the expected content of an HTML element is flow content, you can code either flow content elements or phrasing content elements, with some occasional restrictions.

In other words, flow content elements can only be used where flow content is expected.

When the expected content of an HTML element is phrasing content, you cannot code any flow content elements, only phrasing content elements, with some occasional additional restrictions.

In other words, phrasing content elements can be used where either flow content or phrasing content is expected.

Valid HTML 5