Thursday, April 18, 2013

Specifying Document Type

                 Specifying Document Type :                                                

                       One attribute of HTML documents that is frequently Images
                       overlooked is the Document Type Definition (DTD). This
                       definition precedes any document tags and exists to inform Comments
                       client browsers of the format of the following content—what
                       tags to expect, methods to support, and so forth. Scripts

                       The <!DOCTYPE>tag is used to specify an existing DTD. The Putting it All Together
                       DTD contains all the elements, definitions, events, and so on
                       associated with the document type. A DOCTYPEtag resembles                
                       the following:

                       <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”
                          “http://www.w3.org/TR/html4/strict.dtd”>

                       This tag specifies the following information:

                          ✦  The document’s top tag level is HTML (html).

                          ✦  The document adheres to the formal public identity (FPI)
                             “W3C HTML 4.01 Strict English” standards (PUBLIC “-//
                             W3C//DTD HTML 4.01//EN”).

No comments: