Title element – HTML

Preview

To view this and the other 250+ tutorials on Simple Dev, sign up for a 10-day free trial.

Summary

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

Details

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.

References

The Document Title element on MDN

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