mhpreiman
12/12/2016 - 5:58 PM

HTML5 template

Make new HTML5 tags styleable in < IE9 (included in some frameworks, eg Modernizr):

<!--[if lt IE 9]>
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
<![endif]-->

<!doctype html>
<html>
<head>
  <meta charset="utf-8">

  <title>My website</title>
  <meta name="description" content="websitedescription">
  <meta name="author" content="authorName">

  <link rel="stylesheet" href="css/styles.css">
  <style>
  </style>

  <!--[if lt IE 9]>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.js"></script>
  <![endif]-->
</head>

<body>
<p>stuff</p>
  <script src="js/scripts.js"></script>
</body>
</html>