agyanadda@gmail.com

HTML Meta Tags for SEO

HTML Head & SEO 1 min read Updated Nov 30, 2026 Topic 29 of 33

Meta tags help Google and social apps understand and show your page.

For Google

  • <title> — under about 60 characters, with your main keyword.
  • <meta name="description"> — about 150 characters; shown under the title in results.
  • <link rel="canonical"> — the main address of the page, to avoid duplicate pages.
  • <meta name="robots" content="noindex"> — hides a page from Google (for example a thank-you page).

For WhatsApp, Facebook and LinkedIn previews (Open Graph)

  • og:title, og:description, og:image, og:url

Tip: Use the AgyanAdda Meta Tag Generator and Open Graph Preview tools to create and test these tags.

Example

Example — SEO and social meta tags HTML
<head>
  <title>Online PHP Course in Patna | AgyanAdda</title>
  <meta name="description" content="Live online PHP and Laravel training with projects, doubt sessions and certificate.">
  <link rel="canonical" href="https://agyanadda.com/online-training">

  <meta property="og:title" content="Online PHP Course | AgyanAdda">
  <meta property="og:description" content="Learn PHP with live classes and real projects.">
  <meta property="og:image" content="https://agyanadda.com/images/php-course.jpg">
  <meta property="og:url" content="https://agyanadda.com/online-training">
</head>

Test Yourself With Exercises

Exercise 1 Multiple Choice

Which tag controls the link preview image on WhatsApp?

Exercise 2 True / False

Meta keywords are the most important SEO tag today.

Frequently Asked Questions

No. They help Google understand the page, but good content, speed and links matter most.