HTML Page Title

In this example, the page title is set to My Page Title. You can replace the text inside the element with whatever you want for your web page. Note that search engines often use this title as the main title for search results, so it’s important to make it relevant and descriptive.

Example

<!DOCTYPE html>
<html>
<head>
    <title>My Page Title</title>
</head>
<body>
    <!-- Your page content goes here -->
</body>
</html>

The image shows the title in the browser:

html title

HTML Title Tag

TagDescription
<title>It shows the title of the page in browser