Title Tag in HTML
As the name suggests, the title represents the title of the web page, which is contained in the browser’s title bar. Within the head, we are having the title tag present. The title tag is used to give some title to the web page, which is viewed on the browser’s title bar. This tag is present inside the head tag(which was discussed previously).
We write the title tag as <title> and end the tag with </title>. The content between <title> and </title> is the title.
Let’s have a look at an example, through which we can understand the title tag –
<meta http-equiv=”X-UA-Compatible” content=”IE=edge”>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>This is a title</title>