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.

Senior Developer Asked on January 25, 2017 in HTML.
Add Comment
1 Answer(s)
HTML 2

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

HTML 3

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">


HTML 3.2

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2/final/EN">

HTML 4.01 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
HTML 5 
<!DOCTYPE html>
Team Leader Answered on January 25, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.