The title of a page
Set the page title using <title>
tag.
The <title>
tag should title something related to the page contents.
The <title>
tag should be used only once. and inside <head>
tag.
Learning with HTML Editor "Try it Now"
You can edit the HTML code and view the result using online editor.
The <title>
in head
<!DOCTYPE html>
<html>
<head>
<title>Title of this Page</title>
</head>
<body>
<!-- body contents here-->
</body>
</html>
Example
<!DOCTYPE html>
<html>
<head>
<title>Title of this Page</title>
</head>
<body>
<h2>HTML Title Example</h2>
<p>The title display in the title bar of the browser</p>
<p>Title is not displayed in the body of the page.</p>
</body>
</html>
Click on the "Try it Now" button to see how it works.