metadata
<title>
The document's title, shown in the browser tab, bookmarks, and search-engine result snippets. It is required in every valid HTML document.
<title>Page Title — Site Name</title> Common attributes
| Attribute | Purpose |
|---|---|
| lang | Global attribute — language of the title text |
| dir | Global attribute — text direction (ltr, rtl, auto) |
Examples
<title>HTML input tag — Utilko</title> Descriptive title with brand suffix
<title>Home | Utilko</title> Common brand-separator pattern
<title>404 — Page not found</title> Distinct titles per page state help users and SEO
Gotcha
Keep titles under about 60 characters or Google truncates them in search results. Every page must have a unique, descriptive
Related tags
<meta>
Provides metadata about the document that other tags cannot express — charset, viewport, description, robots directives, and Open Graph tags. Placed only inside <head>.
<link>
Defines a relationship between the current document and an external resource — stylesheets, icons, preloads, RSS feeds, canonical URLs, and manifest files. Lives inside <head>.
<h1>
The top-level heading, describing the main topic of the page or its sectioning root. Modern practice allows one <h1> per page (the page title) or one per sectioning element — pick a convention and stick to it.