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

Java ConcurrentMap + ConcurrentHashMap

Java Generics

Java ForkJoinPool

P2P Networks Introduction

















Close TOC
All Tutorial Trails
All Trails
Table of contents (TOC) for this tutorial trail
Trail TOC
Table of contents (TOC) for this tutorial
Page TOC
Previous tutorial in this tutorial trail
Previous
Next tutorial in this tutorial trail
Next