- Trending Categories
- Data Structure
- Operating System
- C Programming
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to use the <title> tag to define HTML document title?
The <title> HTML element defines the document's title that is shown in a browser's title bar or a page's tab. It gives a brief and exact description of the documents content. It is also the default name used if the user wishes to bookmarks the web page.
<title> Page title content </title>
The <title> HTML plays an important role in on-page search engine optimization, it helps the search engine users decide to click to your site rather than another. Badly-formatted title tags can harm your search rankings and make your links less appealing even though it appears on Google's first page, so it's important to get them right in first place.
Search engine consider content page title while ranking the page, hence content of a title tag has great importance in SEO (search engine optimization). The longer, descriptive title have an edge over a shorter title. Title content is one of the components that helps search engine algorithms to organize how the web pages are to be displayed in search result. In addition to that title is also the first thing to grab the attention of the user on the search
The different purposes of title tags make them important for SEO, usability, and social sharing. To sum up, title tags are used for −
- The brief title and description of a page as appears at the top of a browser window
- The default name for user-created bookmarks
- Search engine rankings
- The clickable headline of a search result
- The headline of a link when shared on social media
Tips to Create Great HTML Title Tag
- Character length between 50 − 60 characters - search engine would show only first 55 - 60 characters of a page title, hence try to have title not longer than that. If the title is long, then make sure that important information comes between 55 - 60 characters.
- Meaningful title − Always have a descriptive phrase, or a term-definition pairing for glossary or reference-style pages.
- Include Important Keywords − It always better to have your important keyword first in your title and the brand or company name can come the end. As user is mostly looking out for the products rather than the company or brand. Hence crucial keyword is to be placed first.
- Title related to page − When create a title always bear in mind that the title should be related to the page or else search engine will display a different title in the search results.
- Human readable − Remember that, while search engines rank your pages, human beings are the ones actually reading and using them. A human-readable title tag makes your page clickable on SERPs and memorable in bookmarks.
- Unique title for every page − The title tag should always be appropriate to the page content, so each page needs its own individual title tag to help differentiate it from your other pages. It's also very likely that each page will need a few different keywords, so optimize each title tag accordingly.
<title>Awesome interesting stuff</title>
<title>Comprehensive DevOps Prime Pack - Tutorialspoint</title>
<title> Shopping Cart details - Tutorialspoint </title>
It is important to provide an accurate and concise title to describe the page's purpose.
A common navigation technique for users of assistive technology is to read the page title and infer the content the page contains. This is because navigating into a page to determine its content can be a time consuming and potentially confusing process. Titles should be unique to every page of a website, ideally surfacing the primary purpose of the page first, followed by the name of the website. Following this pattern will help ensure that the primary purpose of the page is announced by a screen reader first. This provides a far better experience than having to listen to the name of a website before the unique page title, for every page a user navigates to in the same website.
<title>Menu - Blue House Chinese Food - FoodYum: Online takeout today!</title>
- How to use title tag in HTML Page?
- How to mark work title using cite tag in HTML?
- How do we add document title in HTML?
- How to add a title in anchor tag using jQuery?
- HTML DOM Title Object
- HTML DOM title Property
- How to use Tkinter in python to edit the title bar?
- HTML DOM Title text Property
- How to include a title in a fieldset in HTML?
- How to Change Tkinter Frame Title?
- How to use the <style> tag to define style information for an HTML page?
- How to use the <base> tag to define the base URL for an HTML page?
- How to change the title bar in Tkinter?