Doctype in Html5

Google Advertisements

Prev Tutorial Next Tutorial

Doctype in Html5

Doctype declaration at the top of HTML document specifies the type of document and this document type declaration is required in XML documents. But in HTML it is optional. It is not a HTML element. In Html5 Doctype declaration is very simple to declare.


<!doctype html>

Example of using Doctype


<p>This is my first Html5 code.</p>


This is my first Html code.

Prev Tutorial Next Tutorial

Download Projects

Adsense Advertisements
Free Classified Site – Bedpage

Yahoo Ads Advertisements