!DOCTYPE!DOCTYPE*
*Contents  *Index  *Topic Contents
*Previous Topic: !-- --
*Next Topic: A

!DOCTYPE

Description

Specifies the HTML DTD that the document corresponds to.

Syntax

<!DOCTYPE>

Remarks

Different versions can be used depending on the level of compatibility the author wishes to indicate. In the examples below, the first indicates compatibility with the HTML 3.2 DTD; the second indicates a strict adherence to the HTML 4.0 DTD.

Examples

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.