Meta Tags Guide: Every HTML Meta Tag You Need for SEO in 2026
Meta tags are the invisible foundation of your page's SEO. They tell search engines what your page is about, how to display it in search results, and how to render it. Get them wrong and you lose organic traffic. Get them right and it's free traffic for life.
The Essential Meta Tags (Must-Have)
1. Title Tag
The most important on-page SEO element. Shows up as the clickable headline in Google.
<title>Your Page Title | Site Name</title>
Best practices: Keep it under 60 characters. Put the most important keywords first. One per page. Every page should have a unique title.
2. Meta Description
The snippet that appears below the title in search results. Doesn't directly affect ranking, but controls click-through rate.
<meta name="description" content="A compelling 150-160 character description of this page's content.">
Best practices: 150-160 characters. Include your target keyword naturally. Write it as a call-to-action.
3. Canonical URL
Tells Google which version of a page is the "real" one. Prevents duplicate content issues from URL parameters, www vs. non-www, and http vs. https.
<link rel="canonical" href="https://yoursite.com/this-page/">
4. Viewport Meta Tag
Required for mobile responsiveness. Google uses mobile-first indexing.
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Generate Your Viewport Meta Tag →
The Social Media Meta Tags (Open Graph)
Open Graph tags control how your page looks when shared on Facebook, LinkedIn, and other platforms.
<meta property="og:title" content="Page Title">
<meta property="og:description" content="Page description.">
<meta property="og:image" content="https://yoursite.com/og-image.jpg">
<meta property="og:url" content="https://yoursite.com/this-page/">
<meta property="og:type" content="website">
Generate Your Open Graph Tags →
Meta Tags That No Longer Matter
| Meta Tag | Why It's Dead |
|---|---|
<meta name="keywords"> | Google stopped using these in 2009. Competitors can now see your keywords. |
<meta name="author"> | Google deprecated Google+ authorship. This tag has no SEO value. |
Bottom Line
Every page needs: title tag, meta description, canonical URL, viewport tag, and Open Graph tags. Skip the obsolete ones. Use our meta tag generators to create them correctly the first time.