Skip to content

Instantly share code, notes, and snippets.

@mrsonord
Last active December 27, 2015 10:29
Show Gist options
  • Save mrsonord/7311891 to your computer and use it in GitHub Desktop.
Save mrsonord/7311891 to your computer and use it in GitHub Desktop.
Html head snippet with everything you would generally use.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<meta name='DC.title' content=''>
<meta name='subtitle' content='This is my subtitle'>
<meta name='url' content=''>
<meta name='identifier-URL' content=''>
<meta name='reply-to' content='[email protected]'>
<!-- Facebook Metadata /-->
<meta property="fb:admins" content="" />
<meta property="fb:app_id" content="" />
<meta property="fb:page_id" content="" />
<meta property="og:description" content=""/>
<meta property="og:title" content=""/>
<meta property="og:url" content=""/>
<meta property="og:type" content=""/>
<meta property="og:image" content="[URL]" />
<meta property="og:image:type" content="image/[ADD TYPE]" />
<meta property="og:image:width" content="" />
<meta property="og:image:height" content="" />
<!-- Google+ Metadata /-->
<meta itemprop="name" content="">
<meta itemprop="description" content="">
<meta itemprop="image" content="">
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="">
<meta name="twitter:creator" content="">
<meta name="twitter:title" content="">
<meta name="twitter:description" content="">
<meta name="twitter:image:src" content="">
<!-- Win8/Mobile Metadata -->
<meta name="application-name" content=""/>
<!-- ios touch icon links -->
<link rel="apple-touch-icon" href="apple-touch-icon-precomposed.png" />
<link rel="apple-touch-icon" sizes="76x76" href="apple-touch-icon-72x72-precomposed.png" />
<link rel="apple-touch-icon" sizes="120x120" href="apple-touch-icon-114x114-precomposed.png" />
<link rel="apple-touch-icon" sizes="152x152" href="touch-icon-ipad-retina.png" />
<!-- Bing Tracking -->
<meta name="msvalidate.01" content="">
<!-- Viewport -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- IE Tags -->
<meta http-equiv='Page-Enter' content='RevealTrans(Duration=2.0,Transition=2)'>
<meta http-equiv='Page-Exit' content='RevealTrans(Duration=3.0,Transition=12)'>
<meta name='mssmarttagspreventparsing' content='true'>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
<meta http-equiv='cleartype' content='on'>
<!-- Authorship -->
<meta name="author" content="">
<link rel=”author” href=”https://plus.google.com/“/>
<link rel=”publisher” href=”https://plus.google.com/“/>
<!-- Basic -->
<meta itemprop="image" content=""/>
<meta itemprop="name" content="PAGE / SITE NAME"/>
<meta itemprop="description" content=""/>
<meta name="subject" content="" />
<meta name="description" content="">
<meta name='topic' content=''>
<meta name='summary' content=''>
<meta name='Classification' content='Business'>
<meta name="keywords" content="">
<meta name="rating" content="general">
<meta name='coverage' content='Worldwide'>
<meta name='distribution' content='Global'>
<meta name='copyright' content='company name'>
<meta name='robots' content='index,follow'>
<meta name='revised' content='Sunday, July 18th, 2010, 5:15 pm'>
<meta name='revisit-after' content='7 days'>
<!-- Stylesheets -->
<link rel="stylesheet" media="screen" href="">
<!-- Google Analytics -->
<script>
(function(i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] ||
function() {
(i[r].q = i[r].q || []).push(arguments);
}, i[r].l = 1 * new Date();
a = s.createElement(o), m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
})(window, document, 'script', 'http://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'XX-XXXXXXXX-X', 'XXXXXX.COM');
ga('send', 'pageview');
</script>
</head>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment