spacer

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

Developer-Building Trading-Pricing Appl-Capital Markets C#-WPF--WCF-XML-.Net 3.5,ASP, SQL Server
WSI Nationwide, Inc.
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies


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.




internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji

Created: March 15, 2005

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