'!DOCTYPE' Syntax and Note : DOCTYPE « HTML Tag Reference « HTML CSS Reference

HTML CSS Reference
1. CSS Attributes and Javascript Style Properties
2. HTML Attributes Reference
3. HTML Tag Reference
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
HTML CSS Reference » HTML Tag Reference »  DOCTYPE 
'!DOCTYPE' Syntax and Note

Note:

Specifies the document type definition (DTDand must appear before the HTML tag.
   
Syntax:
    
<!DOCTYPE TopElement Availability "-//Organization//Type LanguageVersion Definition//LanguageCountry">


Correct syntax requires that the attribute values be specified without attribute names, 
as in the following examples:


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


<!DOCTYPE> Specific Attributes Ordered by Syntax


Attribute Name    Note
-----------------+-----------------+--------------------------------------------------------
Top Element       Specifies the markup language used in the document. 
                  The default value is HTML.
                  
-----------------+-----------------+--------------------------------------------------------
Availability      Specifies whether the DTD is publicly accessible or 
                  is available as a system resource.
                                  
                  Values:  PUBLIC   Indicates the DTD is publicly accessible; the default value
                           SYSTEM   Indicates a local DTD file or a URL that points to a DTD file 
-----------------+-----------------+--------------------------------------------------------
Organization      Specifies the organization responsible for 
                  the creation and maintenance of the DTD being used.
                  
                  Values: W3C or IETF.
-----------------+-----------------+--------------------------------------------------------
Type              Specifies the type of object used in the page.
                  The default value is DTD.
                  
-----------------+-----------------+--------------------------------------------------------
Language Version  Specifies the version of the markup language used for the document. 
                  The default value is HTML 4.0.
                  
-----------------+-----------------+--------------------------------------------------------
Definition        Define the document type. 
                  If no value is specified, the document can make use of any of the types.
                  
                  Values: frameset     For frameset documents
                          strict       Supports mainly style sheets
                                       transitional Does not contain frameset elements
-----------------+-----------------+--------------------------------------------------------
Language Country  Specifies the language used in the document (Spanish, English, and so on)
                 



           

      
      
Related examples in the same category
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.