This page is not available in every language. Missing translations are disabled in the language selector.

Quick reference

HTML Meta Tags & Social Previews Cheatsheet

A comprehensive reference guide for HTML meta tags: SEO metadata, viewport responsiveness, Open Graph (Facebook), Twitter Cards, and PWA icons.

· Published

HTML <meta> elements supply machine-readable metadata about a webpage to search engines, social media platforms, and browser runtimes.

Standard SEO & Responsive Tags

<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Page Title (Under 60 Characters)</title>
<meta name="description" content="Concise summary under 160 characters." />
<meta name="robots" content="index, follow" />
<link rel="canonical" href="https://example.com/page/" />

Open Graph Protocol (Facebook, LinkedIn, Slack)

<meta property="og:type" content="article" />
<meta property="og:title" content="Article Title Here" />
<meta property="og:description" content="Engaging description for social previews." />
<meta property="og:url" content="https://example.com/article" />
<meta property="og:site_name" content="My Website" />
<meta property="og:image" content="https://example.com/images/cover.jpg" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />

Article Extensions

<meta property="article:published_time" content="2026-11-08T00:00:00+08:00" />
<meta property="article:author" content="https://example.com/author" />
<meta property="article:tag" content="Technology" />

Twitter Cards

<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@MyBrand" />
<meta name="twitter:creator" content="@AuthorHandle" />
<meta name="twitter:title" content="Page Title" />
<meta name="twitter:description" content="Summary text." />
<meta name="twitter:image" content="https://example.com/images/card.jpg" />

Progressive Web App (PWA) & Mobile Icons

<!-- Theme color for browser status bar -->
<meta name="theme-color" content="#1a73e8" />

<!-- Web App Manifest -->
<link rel="manifest" href="/manifest.json" />

<!-- Apple Touch Icon -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />

<!-- Standard Favicon -->
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />

References

Related topics