spacer

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

3D Artist
Aquent
US-WA-Redmond

Justtechjobs.com Post A Job | Post A Resume
Developer News
Mozilla's Ubquity Mashup: For The Masses?
iPhone Users Just Want to Have Fun
Oops! I Fixed the Linux Kernel

HTML 4.01 Element Reference

By Lee Underwood

Return to HTML 4.01 element index page

Name: HTML Document Root

<html> (opt.) ... </html> (opt.)

Description: Acts as a container for the entire page.

Browser Compatibility: NN: 4.0+ / IE: 4.0+ / Opera: 4+

Attributes:
  • dir
  • lang
  • version*

* Deprecated

Code Example:

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

<html>
<head>
<title>Page Title</title>
</head>
<body>
   Body of document
</body>
</html>

Comments: Opening tag appears on the next line after the DOCTYPE and the closing tag is placed on the last line of the entire page.

XHTML Notes: Both opening and closing elements are 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
Extending Telephony: VoIP Call Recording for Business · U-Verse for Business Has Wi-Fi Perks · Lian-Li Launches New Power Supply Line, Rack Mount Kit and Fan Blower

Created: March 15, 2005

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