spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

.Net Developer / Coder
Aquent
US-CA-Burbank

Justtechjobs.com Post A Job | Post A Resume
Developer News
iPhone Users Just Want to Have Fun
Oops! I Fixed the Linux Kernel
Jim Zemlin: The New Center of Linux Gravity

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: Document Body

<body> (opt.) ... </body> (opt.)

Description: Acts as a container for the actual document. Appears after the </head> element and before the </html> element.

Browser Compatibility: NN: 1.0+ / IE: 2.0+ / Opera: 4+

Attributes:
  • alink*
  • background*
  • bgcolor*
  • class
  • dir
  • id
  • lang
  • link*
  • onclick
  • ondblclick
  • onkeydown
  • onkeypress
  • onkeyup
  • onload
  • onmousedown
  • onmousemove
  • onmouseout
  • onmouseover
  • onmouseup
  • onunload
  • style
  • text*
  • title
  • vlink*

* Deprecated

Code Example:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <title>
Title Goes Here</title>
</head>

<body>


Main portion of the page goes here

</body>
</html>

XHTML Notes: The closing </body> element is required.






JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Performance Optimizations for High Speed JavaScript · Advanced Web Performance Optimization · Simple Comments Meets OpenID
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Installing Oracle E-Business Suite R12 on Windows 2003 · When the Cloud Storms on You · eBay Watch: DSR 4.3 Tips, Tactics and Seller POV

Created: March 15, 2005

URL: http://webreference.com/html/reference/specs/