Skip to content

Instantly share code, notes, and snippets.

@rochabianca
Created November 29, 2018 20:31
Show Gist options
  • Save rochabianca/055ff93c0a207eb8041eb477af82fb4c to your computer and use it in GitHub Desktop.
Save rochabianca/055ff93c0a207eb8041eb477af82fb4c to your computer and use it in GitHub Desktop.
Meta Tags for SEO
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Title of your page</title>
<meta name="description" content="description of the contents of your website">
<meta property="og:type" content="website"/>
<meta property="og:title" content="Title of your website"/>
<meta property="og:description" content="can be the same description as meta description"/>
<meta property="og:url" content="http://url_of_your_website.com"/>
<!-- this field bellow will be the image that will show up when you copy and paste your website url -->
<meta property="og:image" content="http://image.com"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment