View Full Version : What does DOCTYPE mean?
ajay49560
07-07-2015, 06:18 AM
Hello Friends,
Give me Right Solutions...
daviddakarai
07-30-2015, 01:53 AM
A document type declaration, or DOCTYPE, is an instruction that associates a particular SGML or XML document (for example, a webpage) with a document type definition (DTD) (for example, the formal definition of a particular version of HTML).
davidwarner033
07-31-2015, 05:41 AM
The DOCTYPE declaration is an instruction found at the top of an HTML or XHTML document that tells the user agent what version of HTML the document uses.
The correct DOCTYPE for modern documents is the HTML5 DOCTYPE:
<!doctype html>
beastlinks777
08-03-2015, 08:19 PM
This how its looks on the top of your file
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Why specify a doctype? Because it defines which version of (X)HTML your document is actually using, and this is a critical piece of information needed by some tools processing the document.
For example, specifying the doctype of your document allows you to use tools such as the Markup Validator to check the syntax of your (X)HTML. Such tools won't be able to work if they do not know what kind of document you are using.
But the most important thing is that with most families of browsers, a doctype declaration will make a lot of guessing unnecessary, and will thus trigger a "standard" rendering mode.
harikri
08-04-2015, 08:08 AM
The DOCTYPE declaration is an instruction found at the top of an HTML or XHTML document that tells the user agent what version of HTML the document uses.
The correct DOCTYPE for modern documents is the HTML5 DOCTYPE:
<!doctype html>
excelcare01
08-11-2015, 08:23 AM
I completely agree with all of you guys this is nice information you all have shared.
jane1
08-25-2015, 02:59 AM
It is not an html tag but it is used to give instruction to the browser about its version type in which the html, xml was written.
ramskl
11-26-2015, 01:45 AM
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.
Alanah_Rae
11-27-2015, 11:43 AM
A document type declaration, or DOCTYPE, is an instruction that associates a particular SGML or XML document (for example, a webpage) with a document type definition (DTD) (for example, the formal definition of a particular version of HTML).
alishawalter
11-28-2015, 07:23 AM
DOCTYPE is written on the top of HTML code to tell which type of document they have.
JaydenFox
11-30-2015, 09:56 AM
A document kind declaration, or DOCTYPE, is associate degree instruction that associates a selected standard generalized markup language or XML document
robertclark1
01-13-2016, 02:53 AM
This is a document type declaration that lets the browser know which version of HTML to use.
maxsmith
01-18-2016, 05:17 AM
A document type declaration, or DOCTYPE, is an instruction that associates a particular SGML or XML document (for example, a webpage) with a document type definition (DTD) (for example, the formal definition of a particular version of HTML).
sigmatestcenter
01-18-2016, 06:10 AM
The <!DOCTYPE> declaration must be the very first thing in your HTML document, before the <html> tag.
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. 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.
Fuel Oil Analysis (http://www.sigmatest.org/Oil-Petroleum-testing-India.html), Furan Analysis Of Transformer Oil (http://www.sigmatest.org/Transformer-oil-Testing-India.html)
excelcare01
01-19-2016, 06:02 AM
A document type declaration, or DOCTYPE, is an instruction that associates a particular SGML or XML document (for example, a webpage) with a document type definition (DTD) (for example, the formal definition of a particular version of HTML).
Powered by vBulletin® Version 4.2.4 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.