Skip to content

Help us create more tutorials! Make a donation using the Donate button or become a member using the button below to hide this banner and track your progress.

Title element – HTML


<!DOCTYPE html>
<html lang="en">
  <!-- Edit the title element below -->
  <title>Web page title</title>


The title element controls the text displayed in the browser tab. For example, the title on this browser tab is “Title element – HTML – Simple Dev”, so the title element for this page looks like this:

<title>Title element - HTML - Simple Dev</title>

The title element is always nested inside the head element.


Recreate the code snippet in the Details section by typing out the code in your index.html file. Then, try customizing the title element.


The Document Title element on MDN

Lesson tags: Open Lesson
Back to: HTML Course > HTML Head Elements