Skip to content

Instantly share code, notes, and snippets.

@jakebellacera
Created August 17, 2016 20:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jakebellacera/a1ba2b36a9cb0345ebf6403dbd35c69b to your computer and use it in GitHub Desktop.
Save jakebellacera/a1ba2b36a9cb0345ebf6403dbd35c69b to your computer and use it in GitHub Desktop.
Basic example of SEO-friendly HTML meta tags.
<!DOCTYPE html>
<html>
<head>
<title>My Page's Title - Site Name</title>
<meta name="description" content="My page's description. This should be no more than 155 characters or else it may be truncated.">
<meta name="og:title" content="My Page's title">
<meta name="og:description" content="My page's description. This should be no more than 155 characters or else it may be truncated.">
<meta name="og:image" content="http://mywebsite.com/default-og-thumbnail.png">
</head>
<body>
<!-- content goes here... -->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment