Specifying the Document Title - HTML

The <head> element of an HTML document contains several other elements including the document title. The document title is delimited between <title> tags and can include any character or entity. For example, consider the following <head> section that includes a copyright symbol:

This title shows in the title bar of Internet Explorer.

Entities are rendered correctly in document titles.

Entities are rendered correctly in document titles.

Although it is useful to have the title of your document in the title bar of the client’s browser, the title is used in several other locations, as well—it is used as the default shortcut/favorite name in most browsers, it is linked to in most search engines, and so on. As such, you should always include a title for your documents, and make it as descriptive (but concise) as possible.


All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

HTML Topics