Skip to content

Instantly share code, notes, and snippets.

@theshem
Created October 4, 2012 11:52
Show Gist options
  • Save theshem/3833143 to your computer and use it in GitHub Desktop.
Save theshem/3833143 to your computer and use it in GitHub Desktop.
HTML: XHTML5 Starting Template
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title></title>
<meta name="description" content="description here..." />
<meta name="keywords" content="keywords,here,..." />
<meta name="robots" content="index, follow" />
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
//<![CDATA[
// load the latest minified version of jQuery
google.load ("jquery", "1", {uncompressed: false});
// jQuery has been loaded
google.setOnLoadCallback(function(){
// using google.setOnLoadCallback() instead of $(document).ready();
var s=document.createElement('script'), p=document.getElementsByTagName('head')[0];
s.setAttribute('type', 'text/javascript'); s.setAttribute('src', 'script.js'); p.appendChild(s);
});
//]]>
</script>
<!--[if lt IE 9]>
<script src="http://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6/html5shiv.min.js"></script>
<![endif]-->
</head>
<body>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment