Every page should have a title element that briefly explains what the page is about. The title element gives screen reader users an overview of the page. Search engine users also rely on it heavily to determine if a page is relevant to their search. Lighthouse reports when the HTML document doesn't have a title:
How to fix this problem
To fix this problem, provide a title for your page. When a screen reader enters the page, the title is the first text that is announced. Make sure your page has a title, and that title provides context about the page:
<title>20-week training schedule for your first marathon</title>
Tips for creating great titles
- Make them descriptive and concise. Avoid vague descriptions like Home.
- Avoid keyword stuffing.
- It's not helpful to users, and search engines may mark the page as spam.
- Avoid repeated or boilerplate titles.
- It's OK to brand your titles, but do it concisely.
See Create descriptive page titles for more on these tips.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.