What does DOCTYPE mean?
<!DOCTYPE html>
is the doctype for the document. It basically tells the web browser how to render the page. Failing to use DOCTYPE or using a wrong DOCTYPE may load your page in Quirks Mode. Quirks mode also known as Compatibility Mode – means your web page is running without a document type declared.
Share
HTML 2
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
HTML 3.2
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2/final/EN">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!DOCTYPE html>