Skip to main content

Head Metadata for HTMLs

Head metadata is the information in the head element that describes a page rather than displaying it. The title and meta description appear in search results, the viewport tag controls mobile layout, canonical links consolidate duplicate URLs, and Open Graph tags shape link previews. Resource hints like preload and preconnect help pages load faster.

Stage: Metadata and Quality · Part of the HTML roadmap · Last reviewed 19 November 2026

What to learn in Head Metadata

Head Metadata interview questions

Does the meta description affect ranking?

Search engines do not use the meta description as a direct ranking factor, but they often show it as the snippet in results. A clear, accurate description can raise click-through, so write one unique for each page.

What does the canonical link do?

The rel=canonical link names the preferred URL for a page when the same content is reachable at several addresses, such as with tracking parameters. It hints to search engines which version to index and consolidates ranking signals.

Where Head Metadata fits in the HTML roadmap

Head Metadata belongs to the Metadata and Quality stage (intermediate level), which takes about 6 hours. Make it discoverable.

Back to the full HTML roadmap