Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="author" content="Tristan DANIEL">
<title>HTML 5</title>
</head>
<body onload="document.getElementById('compatMode').appendChild(document.createTextNode(document.compatMode));">
<h1>HTML 5</h1>
<pre>&lt;!DOCTYPE html&gt;</pre>
<dl>
<dt>document.compatMode</dt>
<dd id="compatMode"></dd>
<!--[if IE]><dt>Internet Explorer détecté</dt><![endif]-->
<!--[if IE 5]><dd>IE 5</dd><![endif]-->
<!--[if IE 6]><dd>IE 6</dd><![endif]-->
<!--[if IE 7]><dd>IE 7</dd><![endif]-->
<!--[if IE 8]><dd>IE 8</dd><![endif]-->
<!--[if IE 9]><dd>IE 9</dd><![endif]-->
<!--[if IE 10]><dd>IE 10</dd><![endif]-->
<!--[if IE 11]><dd>IE 11</dd><![endif]-->
</dl>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment