“Nous misons gros sur HTML 5.”— Vic Gundotra, Google
“Le monde migre vers HTML5.”— Steve Jobs, Apple
“L'avenir du web est HTML5.”— Dean Hachamovitch, Microsoft
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html> <meta
http-equiv="content-type" content="text/html;
charset=utf-8">
<meta charset="utf-8"><!DOCTYPE html><meta charset="utf-8"><title> Hello </title><p> World Wide Web </p><html> <head> <body> ?
<br/>
<embed/>
<hr/>
<img/>
<input/>
<link/>
<meta/>
<img src=photo1.jpg> → <img src="photo1.jpg"/><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title> ... </title>
</head>
<body> ... </body>
</html>
<table>
<tbody>
<tr>
<td> ... </td>
</tr>
</tbody>
</table>
<em> <strong><b> <i> <br> <hr> <small><iframe> target <li value> start<embed> <section> - groupage thématique de contenus
<header> - intro/nav/en-têtes<nav> - liens de navigation<footer> - info concernant la section, l'auteur et le copyright<article> - post auto-contenu, news, commentaire
<section><aside> - contenu digressif, commentaires à part<hgroup> - titres multi-niveaux en rapport<article><div class="article">...</div><article>...
.article { /* style de l'article ici */ }
<article><div class="article hentry">...</div><article>
<div class="hgroup"><hgroup>...</hgroup></div>
<audio src></audio> - comme img pour le son
<video src></video> - alternative aux plugins
<source src> - publie H.264 et Ogg (ou VP8)
<contrôles vidéo>
<source src="http://exemple.com/vid.mp4">
<source src="http://exemple.com/vid.ogv">
<embed src="http://exemple.com/vid.swf">
</video>
<object> en recul et/ou <embed><canvas> - dessiner avec javascript
<meter> <input type="range"> <progress>
<input type="search"> autofocus attribut - au-dessus du chargement de pageplaceholder attribut - suggestionsrequired attribut - pour proposition de formulaireLes implémenteurs devraient être conscients que cette spécification n'est pas stable. Implementors who are not taking part in the discussions are likely to find the specification changing out from under them in incompatible ways.
<hgroup> <footer>.incremental {opacity: 0;}
.incremental,.current {-webkit-transition: opacity .5s linear;}