HTML5 DOCTYPE
Jakob Jenkov |
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.
Next: HTML5 Language
Tweet | |
Jakob Jenkov |