The DOCTYPE Declaration

The <!DOCTYPE> Declaration


The <!DOCTYPE> helps the browser to display the web page correctly.
All HTML documents start with a type declaration: <!DOCTYPE html>.

Different kind of document type on web page.
Document type is not case sensitive.

Example::

<!DOCTYPE HTML>

<!DOCTYPE html>

<!Doctype Html>

<!doctype html>


In HTML5 <!DOCTYPE html>.It has come in 2014.


Post a Comment

Previous Post Next Post