HTML title tag

<title> tag defines the title or name of the document. It is usually placed in the <head> tag.


 <head><title>Introduction to The Accounting</title></head>

Try </>

It must be used only once in a document. The title can be seen in the tab bar.

Specific uses

The title of the page and the first heading are often different. But they are related to some term.


 <head><title>Humingbird is the smallest bird</title></head>
  <p>You can see title of the page in the tab.</p> 

Related tags

<head> It represents the meta information. It contains a title, link and meta tags.
<article> The content goes here </article>

Tag omission

Both starting and ending tags are necessary for the <title> element.

Global Attributes

All the global attributes are applicable on the <title> element.

Was this article helpful?




Get the newsletter