Warning:
This wiki has been archived and is now read-only.
Elements/title
From HTML Wiki
< Elements
<title>
The <title> element represents the document's title or name.
Point
- 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.
Examples
Example A
[try it]
<!doctype html> <html lang=en> <head> <meta charset=utf-8> <title>The HTML Document</title> </head> <body> <p>The HTML content</p> </body> </html>
HTML Reference
The HTML5 specification defines the <title> element in 4.2.2 The title element.