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)


  • 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)

  • Mastering Title Tags: The Little-Known Reason Your Ranked Pages Don't Get Clicks (new window)
  • A good title is important 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 CSE HTML Validator - Powerful HTML and Link Checking Software for Windows</title>. AI Internet Solutions also recommends that the "title" tag be the first tag inside the "head" section.
  • 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