Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project









TAG:  DOCTYPE

<!DOCTYPE ... >
Available in versions: 2.0, 3.2, 4.0, 4.01
Browser compatibility: All
 
The DOCTYPE tag specifies the Document Type Definition (DTD) for HTML. This sets the rules for the grammar and syntax of the HTML language. While this 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 required.
  • Obey the syntax and case.
     
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
    <html>
    ...
    </html>

     
  •  


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