Title tag

The title tag is used to specify the title of the page and it should be related to the web page. This is placed in the head of the document and it must have a closing tag. The text that is placed between the title tag is displayed in the title of the web browser.

Here is an example of how to use the title tag in an HTML document

<!Doctype html> 
<html> 
<head> 
<title> 
this is where we mention the title of the web page
</title>
</head>
<body> 
<p> this is where the main content </p>
</body> 
</html>