TAG:  DOCTYPE

<!DOCTYPE ... >
Available in versions: 2.0, 3.2, 4.0, 4.01
Browser compatibility: All
 
The DOCTYPE tag specifies the Definition Type Document (DTD) for HTML. This sets the rules for the grammer and syntax of the HTML language. While his tag is not mandatory, the W3C (World Wide Web Consortium), who set the standard for HTML 4.01, strongly recommends that you always include it in your code.
 
This tag can only be placed as the first line of the HTML code. It is the only tag that can proceed the HTML tag.
 
  • This tag is not closed.
  • The exclamation mark ! is reguired.
  • Obey the syntax and case.
     
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EM>
    <html>
    ...
    </html>

     
  • Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
    Trademark Information