Instantly share code, notes, and snippets.

What would you like to do?
Complete List of HTML Meta Tags

Copied from

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">
<meta name="robots" content="index,follow" />
<meta name="revised" content="Sunday, July 18th, 2010, 5:15 pm" />
<meta name="abstract" content="">
<meta name="topic" content="">
<meta name="summary" content="">
<meta name="Classification" content="Business">
<meta name="author" content="name,">
<meta name="designer" content="">
<meta name="copyright" content="">
<meta name="reply-to" content="">
<meta name="owner" content="">
<meta name="url" content="">
<meta name="identifier-URL" content="">
<meta name="directory" content="submission">
<meta name="category" content="">
<meta name="coverage" content="Worldwide">
<meta name="distribution" content="Global">
<meta name="rating" content="General">
<meta name="revisit-after" content="7 days">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">

OpenGraph Meta Tags

<meta name="og:title" content="The Rock"/>
<meta name="og:type" content="movie"/>
<meta name="og:url" content=""/>
<meta name="og:image" content=""/>
<meta name="og:site_name" content="IMDb"/>
<meta name="og:description" content="A group of U.S. Marines, under command of..."/>

<meta name="fb:page_id" content="43929265776" />

<meta name="og:email" content=""/>
<meta name="og:phone_number" content="650-123-4567"/>
<meta name="og:fax_number" content="+1-415-123-4567"/>

<meta name="og:latitude" content="37.416343"/>
<meta name="og:longitude" content="-122.153013"/>
<meta name="og:street-address" content="1601 S California Ave"/>
<meta name="og:locality" content="Palo Alto"/>
<meta name="og:region" content="CA"/>
<meta name="og:postal-code" content="94304"/>
<meta name="og:country-name" content="USA"/>

<meta property="og:type" content="game.achievement"/>
<meta property="og:points" content="POINTS_FOR_ACHIEVEMENT"/>

<meta property="og:video" content="" />
<meta property="og:video:height" content="640" />
<meta property="og:video:width" content="385" />
<meta property="og:video:type" content="application/x-shockwave-flash" />
<meta property="og:video" content="" />
<meta property="og:video:type" content="video/mp4" />
<meta property="og:video" content="" />
<meta property="og:video:type" content="text/html" />

<meta property="og:audio" content="" />
<meta property="og:audio:title" content="Amazing Song" />
<meta property="og:audio:artist" content="Amazing Band" />
<meta property="og:audio:album" content="Amazing Album" />
<meta property="og:audio:type" content="application/mp3" />

Create Custom Meta Tags

Use custom meta tags to store data that you need in javascript, instead of hard-coding that data into your javascript. I store my Google Analytics code in meta tags. Here's some examples:

<meta name="google-analytics" content="1-AHFKALJ"/>
<meta name="disqus" content="abcdefg"/>
<meta name="uservoice" content="asdfasdf"/>
<meta name="mixpanel" content="asdfasdf"/>

Company/Service Meta Tags


<meta name="microid" content="mailto+http:sha1:e6058ed7fca4a1921cq91d7f1f3b8736cd3cc1g7" />

Apple Meta Tags

<meta name="apple-mobile-web-app-capable" content="yes">
<meta content="yes" name="apple-touch-fullscreen" />
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width = 320, initial-scale = 2.3, user-scalable = no">

Internet Explorer Meta 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 http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="msapplication-starturl" content=""/>
<meta name="msapplication-window" content="width=800;height=600"/>
<meta name="msapplication-navbutton-color" content="red"/>
<meta name="application-name" content="Rey Bango Front-end Developer"/>
<meta name="msapplication-tooltip" content="Launch Rey Bango's Blog"/>
<meta name="msapplication-task" content="name=About;action-uri=/about/;icon-uri=/images/about.ico" />
<meta name="msapplication-task" content="name=The Big List;action-uri=/the-big-list-of-javascript-css-and-html-development-tools-libraries-projects-and-books/;icon-uri=/images/list_links.ico" />
<meta name="msapplication-task" content="name=jQuery Posts;action-uri=/category/jquery/;icon-uri=/images/jquery.ico" />
<meta name="msapplication-task" content="name=Start Developing;action-uri=/category/javascript/;icon-uri=/images/script.ico" />
<link rel="shortcut icon" href="/images/favicon.ico" />

TweetMeme Meta Tags

<meta name="tweetmeme-title" content="Retweet Button Explained" />

Blog Catalog Meta Tags

<meta name="blogcatalog" />

Rails Meta Tags

<meta name="csrf-param" content="authenticity_token"/>
<meta name="csrf-token" content="/bZVwvomkAnwAI1Qd37lFeewvpOIiackk9121fFwWwc="/>

Apple Tags

<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name= "viewport" content = "width = 320, initial-scale = 2.3, user-scalable = no">
<meta name= "viewport" content = "width = device-width">
<meta name = "viewport" content = "initial-scale = 1.0">
<meta name = "viewport" content = "initial-scale = 2.3, user-scalable = no">
<link rel="apple-touch-icon" href="touch-icon-iphone.png" />
<link rel="apple-touch-icon" sizes="72x72" href="touch-icon-ipad.png" />
<link rel="apple-touch-icon" sizes="114x114" href="touch-icon-iphone4.png" />
<link rel="apple-touch-startup-image" href="/startup.png">

<link rel="apple-touch-icon" type="image/png" href="/apple-touch-icon.png" />

HTML Link Tags

<link rel="alternate" type="application/rss+xml" title="RSS" href="" />
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
<link rel="fluid-icon" type="image/png" href="/fluid-icon.png" />
<link rel="me" type="text/html" href=""/>
<link rel='shortlink' href='' />
<link rel='archives' title='May 2003' href='' />
<link rel='index' title='DeWitt Clinton' href='' />
<link rel='start' title='Pattern Recognition 1' href='' />
<link rel='prev' title='OpenSearch and OpenID?  A sure way to get my attention.' href='' />
<link rel='next' title='Not blog' href='' />
<link rel="search" href="/search.xml" type="application/opensearchdescription+xml" title="Viatropos" />

<link rel="self" type="application/atom+xml" href=""/>
<link rel="first" href=""/>
<link rel="next" href=""/>
<link rel="previous" href=""/>
<link rel="last" href=""/>

<link rel='shortlink' href='' />
<link rel="canonical" href="" />
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="" />
<link rel="pingback" href="" />
<link media="only screen and (max-device-width: 480px)" href="" type="text/css" rel="stylesheet" />

Other Resources


This comment has been minimized.

lcerbaro commented Jul 9, 2013

Invalid Markup Validation is Invalid.


This comment has been minimized.

jonathanong commented Jan 30, 2014


This comment has been minimized.

joshbuchea commented Apr 20, 2016

I started a project (HEAD) with the aim to be a comprehensive list of everything that goes in the <head> of your document. This gist is one of the resources I used to compile my initial list. Thanks for the great resource @lancejpollard!


This comment has been minimized.

jflynn33 commented Feb 23, 2017

Awesome, thanks! If you're still maintaining this Gist, you could collapse the Apple Meta Tags and Apple Tags sections. Well done!


This comment has been minimized.

behiyegok commented Sep 16, 2017

thank you


This comment has been minimized.

KamranBhatti commented Oct 4, 2017

That's so amazing.


This comment has been minimized.

KamranBhatti commented Oct 4, 2017

If these tags would be explained. That would be amazing.


This comment has been minimized.

goldylucks commented Oct 6, 2017

Is still relevant?
The consumers of meta tags (browsers, smartphones) might have many of these built in by now


This comment has been minimized.

gdsram commented Nov 10, 2017

Great Summary!!

Isn't it property="og:image" instead of name="og:image" in the OpenGraph section?


This comment has been minimized.

Peace-N commented Nov 13, 2017

Very useful thanks so much !!


This comment has been minimized.

DaniSpringer commented Nov 16, 2017

@gdsram yes
@jflynn33 meaning?


This comment has been minimized.

AnjaneyuluBatta505 commented Nov 29, 2017

@lancejpollard awesome!!! thanks.


This comment has been minimized.

joelhuang22 commented Jan 24, 2018

Liked the way you have described the meta keywords usage which is so very true. The new meta news_keywords tag still holds the key in only helping the news articles rank for the news (publishers) on Google news and other relevant Google properties. But every search engines have stopped using meta keywords as a relevancy or a ranking signal. Many other blogs related to SEO on Metabizverse which are also worth reading.


This comment has been minimized.

getsolaris commented Feb 21, 2018

Thanks You !


This comment has been minimized.

TawabG commented Feb 21, 2018

Very helpful, thanks!


This comment has been minimized.

samehfaty commented Mar 28, 2018

Thanks You !


This comment has been minimized.

blacknode commented May 23, 2018



This comment has been minimized.

locness3 commented May 26, 2018

Thank you for that !


This comment has been minimized.

Nemo64 commented May 28, 2018

apple-mobile-web-app-title is missing


This comment has been minimized.

vikingden8 commented Jun 25, 2018

Basic HTML Meta Tags has a duplicate copyright meta tag, 0_0


This comment has been minimized.

bananapatch commented Sep 25, 2018

Great resource, thank you.


This comment has been minimized.

emmanuelmezie commented Nov 19, 2018

Thanks for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment