From Web Education Community Group
< HTML‎ | Elements
Jump to: navigation, search


The <title> element represents the document's title or name.


  • Authors should use titles that identify their documents even when they are used out of context, for example in a user's history or bookmarks, or in search results.
  • The document's title is often different from its first heading, since the first heading does not have to stand alone when taken out of context.

HTML Attributes

See global attributes.


Example A

[try it]

<!doctype html>
<html lang="en">
<meta charset="utf-8">
<title>Title example</title>
<p>The HTML content</p>


HTML Reference

The HTML5 specification defines the <title> element in 4.2.2 The title element.