Description
Declares the type and content of the document which allows the browser to correctly interpret the HTML. Most browsers allow for flexibility but, strictly, all documents should start with this element.
No Attributes
Example
<!doctype html public "-//w3c//dtd html 4.0 //en">
Will be displayed as :
Compatability
HTML | NETSCAPE | INTERNET EXPLORER |
4.1 | N2 | N3 | N4 | N6 | IE3 | IE4 | IE5 | IE6 |
YES |
YES |
YES |
YES |
YES |
YES |
YES |
YES |
YES |
Previous- !-- - Comment
|
Next-A - Hypertext link