Tech and Media Labs
This site uses cookies to improve the user experience.




HTML5 DOCTYPE

Jakob Jenkov
Last update: 2014-06-15

HTML5 has a new DOCTYPE which signals to the browsers that this is an HTML5 document.

The new HTML5 DOCTYPE declaration looks like this:

<!DOCTYPE html>

The DOCTYPE contains no URL's, no version numbers etc. Just the above short declaration.

The DOCTYPE must be located at the very top / beginning of the HTML5 document, before any HTML5 elements.

Jakob Jenkov




Copyright  Jenkov Aps
Close TOC