The XHTML WYSIWYG Editor For Desktop & Web Applications

title

Definition

The <title> element is used to identify the document.

Example

  1. <head>
  2. <title>XHTML Reference</title>
  3. </head>

Many Web browsers display the title in the title bar. For example:

Screen shot of a Web browser with the title 'XHTML Reference'.

Best practice

Each Web page should have a unique title. This helps identify the contents of the page for users of assistive technologies. Also, many search engines favor Web sites that have uniquely named Web pages.

Attributes

Common internationalization attributes

xml:lang
(NameToken) This attribute specifies the base language of an element's attribute values and text content.
dir

This attribute specifies the base direction of text. Possible values:

  • ltr: Left-to-right
  • rtl: Right-to-left

Contains

  • Text