The title and description in a search result
According to Google Search Central, a title link is the title that links to the page in a search result. A snippet is the description or summary portion of the result. These two pieces of text serve different purposes: the title link identifies the result, while the snippet highlights the part of the page content that is relevant to the search.
Google Search generates title links automatically. To do so, it uses the page's content and the references to the page found across the web. When generating a snippet, it looks first at the page's own content. If the meta description describes the page more accurately than a passage taken from the content, it may be used for the snippet.
This does not mean that the text you write in <title> and meta description will be shown verbatim in search results. Google may show different snippet text for the same page in different searches. Each snippet aims to highlight and preview the page content most relevant to the user's specific search.
Write a page-specific <title>
Google Search Central recommends that every page on a site have a <title> element, and that it contain concise, descriptive text. The title link gives users a quick idea of what the result contains and how it relates to their search. It can also be one of the main pieces of information used when deciding which result to click.
Google advises avoiding vague text such as just "Home" for a home page, or just "Profile" for the profile page of a specific person. Instead of such generic wording, each page's <title> should describe that page's content. This way, pages on the same site can be told apart in search results.
Avoid <title> text that is unnecessarily long or verbose as well. Google does not specify a length limit for the <title> element. However, when needed, it truncates the title link in search results, generally to fit the device's width. The full text of the element may not appear in the result.
Reduce repeated words and boilerplate
According to Google, including a few descriptive terms in the <title> can be helpful. Repeating the same words or phrases over and over, however, counts as keyword stuffing. In Google's example, a string made up of different spellings of the same term does not help users, and it can make both Google and users see the page as spam.
Using the same title on every page also makes it harder to tell pages apart. Google notes that if every page on an e-commerce site is given the same generic sales title, users cannot distinguish two pages from each other. Long boilerplate titles that change only a single detail from page to page, with the rest providing no information, can also be a problem.
One of the solutions Google offers is to update the <title> element dynamically so that it better reflects the page's actual content. For example, the words "video" and "lyrics" can be added to the title if the page really contains a video or song lyrics. With this approach, the words in the title correspond to that page's content, rather than adding the same list to every page.
Make the site name and main heading clear
Google recommends using the site name briefly in titles. The home page's <title> element can be a suitable place for additional information about the site. However, using that extra text on every page can look repetitive when several results from the same site are shown for the same query.
Google gives as an example using the site name at the beginning or end of each <title> element, separated from the rest of the text with a character such as a hyphen, colon, or pipe. Because the site name is already shown in the result, Google Search may remove it from the title link if it would be repeated.
It should also be clear which text on the page is the main heading. When generating a title link, Google looks at the visible main heading, heading elements, and other text that is large or prominent. If several headings have the same visual weight, the main heading can become ambiguous. Google gives as examples using a larger font size to set the main heading apart from other text, or placing the title in the first visible <h1> element on the page.
Match the language and writing system
Google recommends writing the <title> text in the same language and writing system as the main content of the page. In Google's example, the title of a Hindi page should also be written in Hindi; an English title, or the title transliterated into Latin characters, does not match the page's main content.