In HTML previous version there was need of a DTD declaration with DOCTYPE assuming like
(<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML
1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.
dtd”>), which was a little bit complex to remember even and slightly
mistakes may have occur during writing such a long DOCTYPE element. So
with the development of HTML5 this feature of HTML has been enhanced.
<!DOCTYPE html>
DOCTYPE is such an element, which tells the browser about the html version,
DOCTYPE is not a HTML tag, but for the Proper SEO purpose and introducing
the version of HTML to the browser the tag is very useful. HTML5
is not based on SGML, so there is no need to declaration of DTD with the
DOCTYPE tag. DOCTYPE tag is defined at the top of the page.
Here is the Syntax for DOCTYPE
<!DOCTYPE html>
(<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML
1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.
dtd”>), which was a little bit complex to remember even and slightly
mistakes may have occur during writing such a long DOCTYPE element. So
with the development of HTML5 this feature of HTML has been enhanced.
<!DOCTYPE html>
DOCTYPE is such an element, which tells the browser about the html version,
DOCTYPE is not a HTML tag, but for the Proper SEO purpose and introducing
the version of HTML to the browser the tag is very useful. HTML5
is not based on SGML, so there is no need to declaration of DTD with the
DOCTYPE tag. DOCTYPE tag is defined at the top of the page.
Here is the Syntax for DOCTYPE
<!DOCTYPE html>

ConversionConversion EmoticonEmoticon