HTML » Tags » body

Version: 2.0, 3.2, 4.0

Compability: Explorer 4, 5  Netscape 4, 6

<body> ... </body>

The <body> tag is used to signify the start of the contents of your HTML document.

If you are using frames, then you use the frameset tag in place of the body tag.
Effective with version 4.0, many of the regular attributes for this tag are deprecated in favor of using style sheets. However, since this is one of the most important HTML tags, you can be assured that all major browsers will continue to recognize the deprecated attributes.
The closing tag is optional. However, it is recommended that it always be included.


... place title here
... place document contents here

This example demonstrates the code structure for creating an HTML document.

Language(s): HTML

See Also: