Last active
August 29, 2015 14:15
-
-
Save jasonkmccoy/432e9eac47d07ac5344c to your computer and use it in GitHub Desktop.
Starting HTML5 Document Template
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!--[if lt IE 7]><html class="no-js ie6"><![endif]--> | |
<!--[if IE 7]><html class="no-js ie7"><![endif]--> | |
<!--[if IE 8]><html class="no-js ie8"><![endif]--> | |
<!--[if gt IE 8]><!--> | |
<html class="no-js" lang="en"> | |
<!--<![endif]--> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>Page Title</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- Favicons --> | |
<link rel="apple-touch-icon" href="apple-touch-icon.png"> | |
<link rel="shortcut icon" href="favicon.ico?v=2"> | |
<link rel="apple-touch-icon-precomposed" href="apple-touch-icon-precomposed.png?v=2"> | |
<link rel="apple-touch-icon" href="img/favicons/apple-touch-icon.png?v=2"> | |
<link rel="apple-touch-icon" sizes="57x57" href="img/favicons/apple-touch-icon-57x57-precomposed.png?v=2"> | |
<link rel="apple-touch-icon" sizes="72x72" href="img/favicons/apple-touch-icon-72x72-precomposed.png?v=2"> | |
<link rel="apple-touch-icon" sizes="114x114" href="img/favicons/apple-touch-icon-114x114-precomposed.png?v=2"> | |
<!-- CSS --> | |
<link rel="stylesheet" href="css/styles.css"> | |
<!-- Modernizr --> | |
<script src="js/modernizr-2.8.3.min.js"></script> | |
</head> | |
<body> | |
<p>Page Content Goes Here</p> | |
<!-- Scripts Go Here --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> | |
<script>window.jQuery || document.write('<script src="js/jquery.js"><\/script>')</script> | |
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --> | |
<script> | |
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]= | |
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date; | |
e=o.createElement(i);r=o.getElementsByTagName(i)[0]; | |
e.src='//www.google-analytics.com/analytics.js'; | |
r.parentNode.insertBefore(e,r)}(window,document,'script','ga')); | |
ga('create','UA-XXXXX-X','auto');ga('send','pageview'); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Basic HTML5 Starting Template with viewport meta tag, favicons, CSS and Modernizr links in the head of the document. Script tags added right before the ending body tag