Skip to content

Instantly share code, notes, and snippets.

@iamkvein
Created October 27, 2012 09:30
Show Gist options
  • Save iamkvein/3963748 to your computer and use it in GitHub Desktop.
Save iamkvein/3963748 to your computer and use it in GitHub Desktop.
HTML5 document templates
<!--
Responsive
-->
<!doctype html>
<html lang="fr-FR">
<head>
<meta charset="utf-8">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Foo</title>
<link rel="stylesheet" href="public/styles/base.css">
<link rel="stylesheet" media="not print, braille, embossed, speech, tty" href="public/styles/media.css">
<!--[if (lte IE 8)&(!IEMobile)]>
<link rel="stylesheet" media="screen" href="public/styles/no-media.css">
<![endif]-->
</head>
<body>
<script src="public/scripts/base.js"></script>
</body>
</html>
<!--
Non-responsive
-->
<!doctype html>
<html lang="fr-FR">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=1064px">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Foo</title>
<link rel="stylesheet" href="public/styles/base.css">
</head>
<body>
<script src="public/scripts/base.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment