Last active
August 29, 2015 13:58
-
-
Save rajasekarm/9959619 to your computer and use it in GitHub Desktop.
Revisions
-
rajzshkr revised this gist
Apr 3, 2014 . 1 changed file with 0 additions and 18 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,21 +7,3 @@ <!DOCTYPE HTML PUBLIC “-// W3C// DTD HTML 4.0 Transitional// EN” “http://www.w3.org/TR/html4/loose.dtd”> 1 2 3 4 5 6 7 8 -
rajzshkr revised this gist
Apr 3, 2014 . 1 changed file with 19 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,4 +6,22 @@ Typical example <!DOCTYPE HTML PUBLIC “-// W3C// DTD HTML 4.0 Transitional// EN” “http://www.w3.org/TR/html4/loose.dtd”> 1 2 3 4 5 6 7 8 Explanation: [Top Element] - Indicates the top level element type declared in the DTD; for HTML it is <html>. [Availability] - Field indicates whether the identifier is a publicly accessible object (PUBLIC) or a system resource (SYSTEM) such as a local file or URL. HTML/XHTML DTDs are specified by PUBLIC identifiers. [Registration] - Indicated by either a plus ("+") or minus ("-"). A plus symbol indicates that the organization name that follows is ISO-registered. A minus sign indicates the organization name is not registered. The IETF and W3C are not registered ISO organizations and thus use a "-". [Organization] - This is the "OwnerID" - a unique label indicating the name of the entity or organization responsible for the creation and/or maintenance of the artifact (DTD, etc.) being referenced by the DOCTYPE. The IETF and W3C are the two originating organizations of the official HTML/XHTML DTDs. [Type] - This is the "Public Text Class" - the type of object being referenced. There are many different keywords possible here, but in the case of an HTML/XHTML DTD, it is "DTD" - a Document Type Definition. [Label] - This is the "Public Text Description" - a unique descriptive name for the public text (DTD) being referenced. If the public text changes for any reason, a new Public Text Description string should be created for it. [Language] - This is the "Public Text Language"; the natural language encoding system used in the creation of the referenced object. It is written as an ISO 639 language code (uppercase, two letters.) HTML/XHTML DTDs are usually (always?) written in English ("EN".) [URL] - This is the optional explicit URL to the DTD being referenced. -
rajzshkr created this gist
Apr 3, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ Syntax <!DOCTYPE [Top Element] [Availability] "[Registration]// [Organization]// [Type] [Label]//[Language]" "[URL]"> 1 2 3 4 5 6 7 8 Typical example <!DOCTYPE HTML PUBLIC “-// W3C// DTD HTML 4.0 Transitional// EN” “http://www.w3.org/TR/html4/loose.dtd”> 1 2 3 4 5 6 7 8