HTML - Title (element|attribute)


Title in HTML can be:



The en-US/docs/Web/HTML/Element/title element represents the document’s title or name.

DOM Accessor

The document property document.title returns the document's title, as given by the title element. Can be set, to update the document's title. If there is no head element, the new value is ignored.


The title attribute is a global attribute that represents advisory information associated with the element. Some elements, such as link, abbr, and input, define additional semantics.

Element Usage example
All tooltip
link title or a description of the target resource
image image credit or description
paragraph footnote or commentary on the text
citation information about the source
interactive content label for, or instructions for, use of the element; and so forth

Line break: Each “LF” (Line Feed) (U+000A) character represents a line break. For instance, the following snippet actually defines an abbreviation's expansion with a line break in it:

<p>My logs show that there was some interest in <abbr title="Hypertext Transport Protocol">HTTP</abbr> today.</p>

Documentation / Reference

Discover More
Card Puncher Data Processing
A slogan (tagline) is a short text that gives the spirit of your product or company

A slogan is used to resume what a company is and what the company will
Featured Snippet
Google Search

Title - The title of the site. URL - The URL of the result. Snippet - A description of the page description meta tag search...
HTML - A element (anchor)

The a (or anchor) is a html element that represents a hyperlink. It is the cornerstone: of every navigation scheme on the web. and of the importance of a page on the internet (pagerank) the...
HTML - Attribute

An attribute in HTML is an XML attribute of an HTML element Attribute names are TR/html-markup/documents.htmlcase-insensitive. Classes and IDs are attributes used in the selection of element....
HTML - Global (Element) Attribute

The global-attributesglobal attributes are common attribute to all elements in the HTML language.
HTML - Head Element (Document Metadata)

The head is the element that contains the html metadata. The most known are: The title element (mandatory) - the title of the page The script element - to load script The link element - to load...
HTML - Metadata Content

Metadata content is content that sets up the presentation or behavior of the rest of the content, or that sets up the relationship of the document with other documents, or that conveys other “out of...
HTML - Section Element

The section element is one of the sectioning element that creates a section section elementHTML The section element is typically written with a: title attribute or heading element. Example:...
UI - Tooltip

A tooltip is a sort of popover that: opens when the mouse is hovering over a target element closes when the mouse is leaving the target element It does not: requiert an active interaction (based...

Share this page:
Follow us:
Task Runner