Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    Registered User
    Join Date
    Apr 2019
    Location
    Bhilai, Chhattisgarh
    Posts
    78
    A document type declaration, or DOCTYPE, is an instruction that associates a particular SGML (for example, a webpage) with a document type definition (DTD) (for example, the formal definition of a particular version of HTML 2.0 - 4.0) or XML document.

  2. #17
    Junior Member
    Join Date
    Jun 2019
    Posts
    21
    The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in. In HTML 4.01, the <!DOCTYPE> declaration refers to a DTD, because HTML 4.01 was based on SGML. ... HTML5 is not based on SGML, and therefore does not require a reference to a DTD

  3. #18
    Registered User
    Join Date
    May 2019
    Location
    Thane and United States
    Posts
    28
    The <!DOCTYPE html> declaration is used to inform a website visitor's browser that the document being rendered is an HTML document. While not actually an HTML element itself, every HTML document should being with a DOCTYPE declaration to be compliant with HTML standards.



    Regards,
    Pratik
    Web Designer | Apps4Rent.com

  4. #19
    Member
    Join Date
    Jul 2019
    Posts
    67
    a lot of people think doctype is an HTML tag but it is not the HTML tag. It is just a message or instruction to web browser about what version of HTML page that you have written.

  5. #20
    Member
    Join Date
    Jul 2019
    Posts
    60
    The <!DOCTYPE represents a web browser which version is the HTML page been written in. It is declared first in the HTML document.
    <!DOCTYPE html>
    <html>
    <body>

    <h1 style="color:Blue";>HTML Document </h1>
    <p style="color:Pink";>This is paragraph</p>

    </body>
    </html>

  6. #21
    Registered User
    Join Date
    Apr 2019
    Location
    Bhilai, Chhattisgarh
    Posts
    78
    The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in. In HTML 4.01, the <!DOCTYPE> declaration refers to a DTD, because HTML 4.01 was based on SGML. HTML5 is not based on SGML, and therefore does not require a reference to a DTD.

  7. #22
    Member
    Join Date
    Jul 2019
    Posts
    82
    A document type declaration or doctype is an instruction that tells the browser about the markup language in which the current page is written.

  8. #23
    Senior Member
    Join Date
    Sep 2019
    Posts
    285
    A document type declaration, or DOCTYPE, is an instruction that associates a particular SGML with a document type definition or XML document. In the serialized form of the document, it manifests as a short string of markup that conforms to a particular syntax.

  9. #24
    Senior Member
    Join Date
    Nov 2018
    Posts
    1,853
    The <!DOCTYPE> declaration must be the very first thing in your HTML document, before the <html> tag. ... In HTML 4.01, the <!DOCTYPE> declaration refers to a DTD, because HTML 4.01 was based on SGML. The DTD specifies the rules for the markup language, so that the browsers render the content correctly.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.