HTML
HTML Page Title
Every webpage has a <title> tag that describes the content on the page. This tag gives a label or title to the page in your browser’s title bar or the page tab. Adding an HTML page title is important to improve search engine optimization.
<html>
<head>
<title><!-- Page Title--></title>
</head>
<body>
<!-- Page content goes here -->
</body>
</html>
What HTML Page Title is for?
As mentioned, it describes the content and improves the page’s search engine optimization (SEO). Here’s what the <title> tag does to your HTML document:
- Defining a title: The whole content can not be displayed in the browser’s toolbar. It is when the HTML page title comes in handy and describes the content in the browser toolbar.
- Title: It gives a title to the page if any user adds the page to their favorites list.
- Search engine friendly: The HTML page title is displayed in the search bar. It defines the page for search engine results.
<html>
<head>
<title> <!-- Title represents your website --> </title>
</head>
<body>
<h2>Page Title Example</h2>
<p>This is simple paragraph.</p>
</body>
</html>
How to Create HTML Page Title?
The page title should be SEO-friendly and meaningful as it defines the whole content. A good HTML page title must have the following:
- Descriptive: The title should be long and clearly describe the content. One or two-word titles are not helpful.
- Character length: An ideal title has 50-60 characters.
- Meaningful: The title should be meaningful, not just keywords written together.
<!DOCTYPE html>
<html lang="en">
<head>
<title> <!-- Best web development tutorials --> </title>
</head>
<body>
<h3>Web Development Tutorials</h3>
<p>Learning Axis offers web development courses</p>
</body>
</html>
The HTML page title should be user-centered, as many users use it as a navigation guide. Make your website more accessible to users with a descriptive, meaningful, and unique page title.