Junior JavaScript

What is the purpose of the <title> tag?

It defines the page title shown in the browser tab and search results.

Example:

<title>My Portfolio | </title>

Key Takeaway:

Make your titles descriptive for better SEO and UX.

Intermediate

More from JavaScript Tutorial

All questions for this course