Skip to content

Instantly share code, notes, and snippets.

@liddiard
Last active July 7, 2017 01:10
Show Gist options
  • Save liddiard/c7613d0be77966c5819f to your computer and use it in GitHub Desktop.
Save liddiard/c7613d0be77966c5819f to your computer and use it in GitHub Desktop.
Blank starter validated HTML5 template. Features: UTF-8 encoding, meta description, Open Graph tags, favicon, Google Fonts, jQuery (pinned to a specific version), links to an external user-generated CSS and JavaScript file.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="favicon.ico" rel="icon" type="image/x-icon" />
<title>Page title</title>
<meta name="description" content="Page description, shows up in search results. Should be no longer than 150-160 characters." />
<!-- Open Graph -->
<meta property="og:title" content="The title of this page, excluding any branding." />
<meta property="og:site_name" content="Name of this website." />
<meta property="og:url" content="Canonical URL of this page, excluding session and user-identifying variables." />
<meta property="og:image" content="URL to an image for this page. Should be at least 1200x630 pixels." />
<!-- CSS -->
<link href="//fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet" type="text/css" />
<link href="css/app.css" rel="stylesheet" type="text/css" />
<!-- JavaScript -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="js/app.js"></script>
</head>
<body>
<header></header>
<main></main>
<footer></footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment