The HTML 5 title tag defines the page title.
When Do You Use the title Tag in HTML 5?
The title tag must be used once, and only once per HTML page. It is in my opinion the most important HTML tag to learn. The reasons are many.
First, without a page title, you can’t have a subject for your page. Would you write a novel and not title your work? How would people refer to it? How would they know what in the world it was about? When you write a clear, concise title, then you can truly know what topic the page will discuss.
Second, when people use search engines to find information, what usually shows in the search results is the title tags of pages. The titles are usually linked in search results. It gives the searcher a clear, concise way to scan for the most relevant search result. Without this, a searcher skips by your information, or worse, it never shows up in any results because search engines don’t know what to do with it.
Third, it gives you a chance to display your “brand” in front of searchers, so they become familiar with you. The reason is because many people put their site name in the title tags as well — either at the beginning of the tag or at the end. This gives you great exposure to a wide variety of people, even if they never click your search result.
Web browsers like Internet Explorer, Mozilla Firefox, and Google Chrome also display the title tag in the very top section of the currently open page or tab. So now you can see how important this tag is.
Some cautions: title tags should not be very long, because they will get chopped off, or truncated, by search engines in the search results, so make your titles be meaningful phrases or sentences. And while it’s a good idea to put the main ideas and key words in your title, don’t go overboard by stuffing them full and making no sense to the reader. Your readers are smart and so are the search engines — they will quickly pass you by as they realize what you’re trying to do.
In my opinion, your title tag should match your h1 tag on the page. That is, your topic, the h1, should be what you’re displaying in the title tag. If it’s not close, both your readers and search engines will quickly become either confused or feel tricked by what you’ve done.
How Is the title Tag Used in HTML 5 Documents?
Here is an example:
<html>
<head>
<title>What Is the HTML 5 title Tag? — Website Insites</title>
</head>
<body>
<h1>What Is the HTML 5 title Tag?</h1>
<p>The HTML 5 title tag defines the page title.</p>
</body>
</html>
