Results 1 to 7 of 7
  1. #1

  2. #2
    Registered User
    Join Date
    Jan 2019
    Posts
    497
    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. #3
    Registered User
    Join Date
    Dec 2018
    Posts
    519
    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.

  4. #4
    Senior Member dennis123's Avatar
    Join Date
    Apr 2013
    Location
    Bangalore
    Posts
    2,565
    The doctype declaration should be the very first thing in an HTML document, before the tag. The doctype declaration is not an HTML tag; it is an instruction to the web browser about what version of the markup language the page is written in. The doctype declaration refers to a Document Type Definition (DTD).

  5. #5
    Senior Member
    Join Date
    Jun 2013
    Location
    Forum
    Posts
    4,598
    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.
    Cheap VPS | $1 VPS Hosting
    Windows VPS Hosting | Windows with Remote Desktop
    Cheap Dedicated Server | Free IPMI Setup

  6. #6
    Registered User
    Join Date
    Dec 2016
    Location
    Mumbai
    Posts
    165
    then information is useful, thanks

  7. #7
    Senior Member
    Join Date
    Feb 2019
    Posts
    292
    It is an instruction to the web browser about what version of HTML the page is written in.

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.