Meta Tags and SEO
Meta tags live inside <head> and give instructions to browsers, search engines, and social media platforms. They are invisible to users but critical for how your page appears in Google search results, on Twitter cards, and in WhatsApp link previews.
Essential Meta Tags
<head> <!-- Technical: always first --> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> <!-- Page identity --> <title>Learn HTML Free | 22 Lessons | CIWeb</title> <meta name="description" content="Learn HTML from scratch with 22 free interactive lessons at CIWeb. Live code editor, AI tutor, and downloadable certificate."/> <meta name="keywords" content="learn HTML, HTML course, free HTML, CIWeb, web development"/> <!-- Open Graph: for Facebook, WhatsApp, LinkedIn --> <meta property="og:title" content="Learn HTML Free — CIWeb"/> <meta property="og:description" content="22 free HTML lessons with live editor and AI tutor"/> <meta property="og:image" content="https://ciweb.in/og-image.png"/> <meta property="og:url" content="https://ciweb.in"/> <meta property="og:type" content="website"/> <!-- Twitter Card --> <meta name="twitter:card" content="summary_large_image"/> <meta name="twitter:title" content="Learn HTML Free — CIWeb"/> </head>
robots and canonical
<!-- Tell Google not to index this page --> <meta name="robots" content="noindex, nofollow"/> <!-- Canonical: avoid duplicate content issues --> <link rel="canonical" href="https://ciweb.in/courses/html"/> <!-- Author and language --> <meta name="author" content="Shiva Saini"/> <meta http-equiv="Content-Language" content="en-IN"/> <!-- Theme color for mobile browser --> <meta name="theme-color" content="#e8401c"/>
The title tag is the single most powerful on-page SEO element. Put your main keyword near the beginning. "Learn HTML Free | CIWeb" will rank better for "learn HTML" than "CIWeb | Free HTML Learning". Google uses the title to decide what search queries to show your page for.
Open Graph was created by Facebook in 2010 to control how pages appear when shared on social media. It was named after the "social graph" — the network of connections between people. Today all major platforms (WhatsApp, LinkedIn, Twitter, Slack) read Open Graph tags to generate link previews.