Doctype in Html5

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

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain,, @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: WhatsApp no. 8882538826

Yahoo Advertisements