Curriculum ▸ HTML Zero → Mastery ▸ Lesson 10: The <title> Element Foundations

Lesson 10 — The <title> Element Page Titles & SEO

Learning Goals

Part 1 — What <title> Does

The <title> element sits in the <head> of your page and provides the official page title. Unlike <h1>, it does not show on the page itself, but it is visible in:

Part 2 — Example

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <title>My Portfolio — Jane Doe</title>
  </head>
  <body>
    <h1>Welcome to my portfolio</h1>
    <p>I design and build modern web applications.</p>
  </body>
</html>

Part 3 — Best Practices

Part 4 — Common Mistakes

Quick Quiz

  1. Where should the <title> element be placed?
  2. What role does it play in search engines?
  3. How many <title> tags can you have per page?
Sample Answers
  • Inside the <head>.
  • It’s the clickable headline in search results.
  • One — multiple <title> tags are invalid.

Mini Project — Title Workshop

Create three simple HTML files:

FAQ

Q: Can I use emojis in titles?
A: Yes, but sparingly — they may be cut off in some search results.

Q: Should titles match <h1>?
A: They should be similar, but the <title> can include branding or context.

Lesson 10 Dictionary

Bookmark Title
The text label used when saving a page as a favorite in a browser.
SEO (Search Engine Optimization)
Practice of improving pages so search engines rank them higher. Titles are a major factor.
<title>
Defines the document’s title, shown in browser tabs, bookmarks, and search results.