With the title tag, we can define the title of a webpage. The title appears in the tab or window of the web browser.

To give a webpage a title, we add <title> and </title> inside the head tags.

 <head>
  <title>My webpage</title>
</head>
<body>
  <h1>My favorite things</h1>
  <p>
  Raindrops on <em>roses</em><br>
  Whiskers on <strong>kittens</strong> 
  </p>
 </body>
</html>]]>

Don't forget we have to add <title> inside the <head> tag.