CSS HTML Validator: The All-In-One HTML, XHTML, CSS, Link, SEO, and Accessibility Checker
Home Help: "title" element

The "title" Element

The "title" element is used in a "head" section to give the document a title.

Attributes for "title"
TypeAttribute List
'Standard' Attributes(none)

Notes

  • In most situations, HTML documents should be given a title by using the "title" element in the document's "head" section. HTML 4.01 and HTML5 (unless an exception applies) require exactly one "title" element in the "head" section. Note that HTML5 allows the "title" element to be omitted when the title is provided by a higher-level protocol, like the subject line of an e-mail message when HTML is used as the email format, or when the document is an "iframe srcdoc" document.

Recommended Links

Search Engine Optimization (SEO)

  • Title Tag Optimization: A Complete How-to Guide (new window)
  • Mastering Title Tags: The Little-Known Reason Your Ranked Pages Don't Get Clicks (new window)
  • A good title is crucial for search engine listings. Try to use keywords and search terms in the title but keep it readable and not too long. Don't just stuff keywords in the title. The first words in the title are more likely to result in higher rankings than subsequent words, so use important keywords at the very beginning when reasonable. The title should also be something that a user will want to click on when it's listed on a search engine. A good title is also important when a visitor bookmarks a page. Example: <title>Download CSS HTML Validator - Powerful HTML, CSS, and Link Checking Software for Windows</title>. We recommend that the title tag be one of the first tags inside the head section (but after any meta charset or viewport tags).
  • It's a good idea to repeat a document's title, keywords, and search terms throughout the page (preferably sooner in the text rather than later), but do it appropriately.

Search Engine Links (for more information)

Help us improve this page: Suggest a link or noteReport a problem