Control what shows in browser tabs and search results
Write page titles and descriptions that explain what the page is about.
Missing-head version: vague tabs and weak search previews
- title
- meta description
- browser tab
- search preview
- page meaning
The <head> is not the visible page body. It tells the browser how to understand, display, describe, share, and connect the page.
The head is the control area of a web page. It tells browsers, search engines, AI systems, social media platforms, and the wider web how to understand the page.
The head is not the visible page content.
It contains instructions and identity information for software that reads the page.
<html> | +-- <head> page setup | +-- <body> visible content
The title names the page.
The description explains what the page is about for search, previews, and AI tools.
<title>Page Title</title> <meta name="description" content="Short page summary.">
The viewport tells phones and tablets how to size the page.
Without it, mobile pages may appear zoomed out or hard to read.
<meta name="viewport" content="width=device-width, initial-scale=1">
A sitemap helps systems discover important pages.
A canonical link tells which URL is the main version of a page.
<link rel="sitemap" type="application/xml" href="/sitemap/sitemap.xml"> <link rel="canonical" href="https://example.com/page">
Alternate language links tell search engines that the same content exists in other languages or regions.
This matters for multilingual websites.
<link rel="alternate" hreflang="en" href="https://en.example.com/"> <link rel="alternate" hreflang="fr" href="https://fr.example.com/">
Open Graph controls how a page appears when shared in social media, chat apps, and preview cards.
<meta property="og:title" content="Page Title"> <meta property="og:description" content="Page summary"> <meta property="og:image" content="https://example.com/image.png">
Robots tags tell search engines whether the page should be indexed and followed.
<meta name="robots" content="index,follow"> <meta name="googlebot" content="index,follow">
The head can also connect icons, theme colours, stylesheets, fonts, and scripts.
<link rel="icon" href="/favicon.ico"> <meta name="theme-color" content="#f4efe3"> <link rel="stylesheet" href="/style.css"> <script src="/app.js"></script>
The body communicates with people.
The head communicates with browsers, search engines, AI systems, social platforms, previews, phones, and other software.
The head is the control area of a web page. It tells browsers, search engines, AI systems, social media platforms, and the wider web how to understand the page.
The head is the information area of an HTML page.
<head> <title>My Page</title> <meta name="description" content="Short page summary."> </head>
The head goes inside html and before body.
<html>
<head>
Page setup
</head>
<body>
Visible page content
</body>
</html>
The title names the page. The description summarizes the page for search, previews, and AI tools.
<title>Page Title</title> <meta name="description" content="What this page is about.">
Each card has one clear goal. The whole card opens the lecture.
Write page titles and descriptions that explain what the page is about.
Use canonical URLs to reduce duplicate-page confusion.
Use robots metadata to guide search engines.
Add Open Graph metadata for better link previews.
Add card metadata so shared pages display better.
Set favicons and app icons so the site looks complete.
Use viewport metadata so mobile layouts behave properly.
Use hreflang links for multilingual pages.
Use preload carefully for performance-critical resources.
Add clear metadata that supports discovery, summaries, and page meaning.
The goal is not to memorize every metadata rule first. The goal is to recognize what belongs in the head, what affects search and previews, and what must be checked before a page goes live.