search engine optimization articles do it yourself seo hiring search engine experts html and search engine optimization web site analysis and submission service

HTML Body Tag Tutorial

Browser Support

Internet Explorer Firefox Opera Safari Chrome

The HTML body tag is required for an HTML document. The content of your web page is placed in between the opening and closing body tags.

The body tag is opened just after the HEAD section of the document is closed. The body tag is closed just before closing the the HTML. Here's the basic format of a web page:

<title>Document Title</title>

Web page content goes here...


Every web page has to have those basics, and should have a DOCTYPE.

The presentation attributes that used to be coded into the body tag, such as background color and font color, have all been deprecated and should no longer be used.

There are a few attributes you can use, such as style and class; and there are several JavaScript event attributes, such as onClick and onLoad that can still be used with the body tag.

Based on your interest in this tutorial you may also be interested in:

This concludes the HTML Body Tutorial.
Back | HTML Tag Chart | HTML Index | Web Design Tutorials
search engine optimization course
If you want your web site to rank high in the search engines . . . what are you going to do to get it there? Check out my search engine optmization guide, SEO for YOU: Search Engine Optimization for Ordinary Everyday People!

Check out SEO for YOU now!

Almost a Newsletter

Subscribe today for exclusive website design tutorials and grab some free gifts to boot! Learn more, or subcribe below:

First Name:

Privacy Policy

Did you know...

The member's site has about 100 standards compliant HTML and CSS tutorials, 31 handy reference charts, reprintable content, web graphics, exclusive fonts, free software, free ebooks and more? All this for less than 9 cents a day! [ Details ]
See my fancy bottom! :)