HTML/Tags/HTML

From The Ultimate Programming Reference

HTML Document

Contents

[edit] Syntax

<HTML>...</HTML>

[edit] Attribute Specifications

[edit] Contents

In HTML 4.0 Strict and Transitional: HEAD followed by BODY

In HTML 4.0 Frameset: HEAD followed by FRAMESET

[edit] Contained In

Not Applicable -- HTML is a top level element

[edit] Discription

The HTML element contains the HTML document, made up of the HEAD followed by the BODY, except in Frameset documents where the HEAD is followed by the FRAMESET. The start and end tags for the HTML element are both optional.

The LANG attribute is typically set on the HTML element to specify the base language of the document. The language should be set according to RFC1766.

The deprecated VERSION attribute specifies the Document Type Definition (DTD) that descibes the document. This attribute should not be used since the DOCTYPE declaration makes this redundant.

Personal tools