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

Featured Videos















Core Software Performance Optimization Principles




Advertisements

High-Performance
Java Persistence
Close TOC

All Trails

Trail TOC

Page TOC

Previous

Next