<!Doctype> Tag in Html 5
I am going to explain about !Doctype tag
Definition
Doctype tag is stands for Document Type.Doctype is an instruction which is used a particular SGML or XML document with a DTD(Document Type Definition). HTML tag has no declaration of The <!DOCTYPE>
HTML 4.01, all <!DOCTYPE> declaration require a reference to a DTD, because HTML 4.01 was based on SGML.While HTML5 is not based on SGML,region is that it not depend on a reference of DTD
Lets take an example of <!DOCTYPE> tag
<html>
<head>
<title>Title for the document</title>
</head>
<body>
hello world......
</body>
</html>
|
Output

Further Readings
You may also want to read these related articles
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here