32. What is the purpose of the title element?

The <title> element defines the document title. It is displayed in browser tabs and can be used by bookmarks, history interfaces, and search-engine results.

Key Takeaways
  • Every important HTML document should have a meaningful title.

  • The title is different from the visible h1.

Knowledge Check

Where does the document title normally appear?