The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.
The HTML body tag is used for indicating the main content section of the HTML document. The body tag is placed between the <*/head> and the <*/html> tags.
Note that the attributes for the body tag are deprecated in HTML 4.01 and obsolete in HTML 5. You should use CSS for defining the presentation of your document body. For example, see CSS background-color and CSS text-decoration.
Example
|
Attributes specific to this tag:
|
Other Attributes:
|
Try it Yourself
|