In this article we are going to explain what is title tag in html or how to set title of html page with example.


HTML title tag is used to set a title name of your webpage. It is necessary for Search Engine Optimization (SEO).

The HTML title tag must be used inside the <head> tag.

The title of the page is displayed on the title bar of the browser.

Let's see the example of HTML title tag.

 !DOCTYPE html>
    <title>this is my web page title.</title>    
    <p>Welcome to</p>  



 what is the use of title element in an html document

In above image we highlighted title name of webpage.

I hope this article will help to you after reading.

 Let's check live example

Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.

You may also like