-
-
Save rfessler/4192213 to your computer and use it in GitHub Desktop.
an HTML5 skeleton page with HTML5shiv, jQuery and fallback, and normalise styling
This file contains 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> | |
<html> | |
<head lang="en"> | |
<meta charset="utf-8"> | |
<title>GREYnyc boilerplate</title> | |
<link rel="stylesheet" href="css/normalize.css" type="text/css" media="screen"> <!-- Cross browser styling standardization --> | |
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen"> <!-- Custom styling for this page --> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <!-- Cloud hosted jQuery code --> | |
<script type="text/javascript">window.jQuery || document.write('<script type="text/javascript" src="path/to/your/jquery"><\/script>')</script> <!-- Local jQuery file fallback --> | |
<script src="js/script.js" charset="utf-8"></script> <!-- Custom scripts for this page --> | |
<!-- Cloud based script to make IE render HTML5 elements --> | |
<!--[if IE]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.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