HTML Title

<title> tag in HTML

title tag is mandatory. It is usually placed before any other meta tags, but inside the head tag.

It is used to display the title of the web page.

Search engines uses the title value as the header name when displaying the search results.

In browsers when setting the bookmarks, title value is set as default name.

Syntax

<title> Title of the web page </title>

Since we are using an in-build editor, we can't see the output of this example.

If you want to see the clear output create an html file and enter the example code and run it.

Try Yourself