Results 1 to 9 of 9
  1. #1
    Senior Member
    Join Date
    Sep 2015
    Posts
    251

    What Is doctype In Html..?

    Hello friends,

    What Is doctype In Html..?

  2. #2
    Registered User
    Join Date
    Jan 2019
    Posts
    529
    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
    643
    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
    3,627
    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
    5,019
    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
    293
    It is an instruction to the web browser about what version of HTML the page is written in.

  8. #8
    Registered User
    Join Date
    Apr 2019
    Posts
    83
    All html document must start with <!doctype> declaration.
    The declaration is not an html tag.
    It is an information to the browser about what document type to expect.
    It is not case sensitive.
    In older version we did have to write like this : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    Now we can write only this <!DOCTYPE HTML>.

  9. #9
    Senior Member
    Join Date
    Dec 2019
    Posts
    1,837
    A doctype or document type declaration is an instruction which tells the web browser about the markup language in which the current page is written. The Doctype is not an element or tag, it lets the browser know about the version of or standard of HTML or any other markup language that is being used in the document.

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.