Specifies the HTML standard that should be used for this document.
Platform Support
IE | Netscape | Mozilla | Opera | Safari | 2.0+ | 1.0+ | 1.0+ | 4.0+ | 1.0+ |
---|
Example
This example shows a !DOCTYPE element for a strict XHTML document:
<!DOCTYPE "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >
Remarks
<!DOCTYPE /> is actually an XML element. Use this element as the first element in all XHTML documents.
Availability
W3C HTML 4.0