A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/html/elements/title below:

title · WebPlatform Docs

title Summary

Defines the title of the current document.

Overview Table
DOM Interface
HTMLTitleElement
Examples

This example uses the title element to specify a title for the document.

<!doctype html>
<html>
<head>
<title>WebPlatform.org - Your Web, documented</title>
</head>
</html>

This example uses the title element to provide the current page title as well as the category and the title of the website.

<!doctype html>
<html>
<head>
<title>title • html • WebPlatform.org</title>
</head>
</html>
Usage
 You can only have one title element per page. The content of this element should make sense out of context, and is commonly used in the browser title bar, and labels for favorites/bookmarks. It is usually also displayed as a title on search engine results pages.

The title element varies from the h1 element in that the heading elements can be contextual: they do not need to make sense out-of-context.

It is read by screen readers as soon as the web page has finished loading and is the first information assistive technologies receive. It can be used to convey information immediately to users using such tools, like the success or error of a form submission.

Titles of sub pages should provide the most specific information on front (“front-loading”), for example a website might first provide the title of the current page, then the name of the category and the name of the complete website.

Notes

It can only contain text and any contained tags are not interpreted.

There are rare cases where the title is allowed to be omitted. This is the case when a higher-level protocol provides title information, like the subject line of an e-mail.

Related specifications
HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation
HTML 4.01
W3C Recommendation
Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4