-
-
Save tcomaj/2514757 to your computer and use it in GitHub Desktop.
HTML: Boilerplate <head> Section
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 lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<!-- Make a DNS handshake with a foreign domain, so the connection goes faster when the user eventually needs to access it. This works well for loading in assets (like images) from another domain, or a JavaScript library from a CDN. --> | |
<link rel="dns-prefetch" href="//ajax.googleapis.com" /> | |
<link rel="dns-prefetch" href="//s3.amazonaws.com" /> | |
<!-- Make sure the latest version of IE is used --> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | |
<!-- Link to Sitemap --> | |
<link rel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml" /> | |
<!-- Main Page Title --> | |
<title></title> | |
<!-- Content Information --> | |
<meta name="keywords" content="" /> | |
<meta name="description" content="" /> | |
<meta name="author" content="" /> | |
<!-- Canonical URL --> | |
<link rel="canonical" href="" /> | |
<!-- Mobile viewport optimized: j.mp/bplateviewport --> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons --> | |
<!-- Suppress IE6 Image Toolbar --> | |
<meta http-equiv="imagetoolbar" content="false" /> | |
<!-- CSS: implied media="all" --> | |
<link rel="stylesheet" href="/stylesheets/normalize.css" /> | |
<!-- JQuery from Google --> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script> | |
<!-- Load JS (Should be at bottom) --> | |
<script src="/javascripts/application.js"></script> | |
<!-- HTML5 Shim --> | |
<!--[if lt IE 9]> | |
<script src="http://html5shim.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