Cheesetoast » boilerplate http://www.cheesetoast.co.uk Brain Food for Web Developers Mon, 07 Jul 2014 23:18:22 +0000 en-US hourly 1 http://wordpress.org/?v=4.2.10 Basic HTML5 Starter Template http://www.cheesetoast.co.uk/html5-starter-basic-bare-bones-template/ http://www.cheesetoast.co.uk/html5-starter-basic-bare-bones-template/#comments Thu, 20 Sep 2012 22:22:08 +0000 http://www.cheesetoast.co.uk/?p=843 Need to start a new HTML5 page in a hurry? Just copy and paste this code. Includes a conditional tag that loads the html5 shiv for IE. Continue reading

The post Basic HTML5 Starter Template appeared first on Cheesetoast.

]]>
Need to start a new HTML5 page in a hurry? Just copy and paste this HTML5 starter code. It uses a conditional tag that loads the html5 shiv for IE. Adjust your css & js file locations accordingly.

<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Title</title>
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="stylesheet" href="css/styles.css">
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>
<body>
    <!-- Content goes here -->
    <script src="js/scripts.js"></script>
</body>
</html>

If you haven’t already, you should look at the HTML Boilerplate project. It’s a very quick way to get a site started with HTML5.

The post Basic HTML5 Starter Template appeared first on Cheesetoast.

]]>
http://www.cheesetoast.co.uk/html5-starter-basic-bare-bones-template/feed/ 0