Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    Many of people thinks that <!DOCTYPE> is one the HTML tag but it's not . It's a information given to Web Browser about the version of HTML page that you are working on.

  2. #17
    Member
    Join Date
    Jan 2019
    Location
    New York
    Posts
    45
    The DTD specifies the rules for the markup language, so that the browsers render the content correctly. HTML5 is not based on SGML, and therefore does not require a reference to a DTD. Tip: Always add the <!DOCTYPE> declaration to your HTML documents, so that the browser knows what type of document to expect.

  3. #18
    Registered User
    Join Date
    Apr 2019
    Location
    Bhilai, Chhattisgarh
    Posts
    59
    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.

  4. #19
    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

  5. #20
    Registered User
    Join Date
    May 2019
    Location
    Thane and United States
    Posts
    29
    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

  6. #21
    Member
    Join Date
    Jul 2019
    Posts
    68
    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.

  7. #22
    Member
    Join Date
    Jul 2019
    Posts
    62
    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>

  8. #23
    Registered User
    Join Date
    Apr 2019
    Location
    Bhilai, Chhattisgarh
    Posts
    59
    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.

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

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.