HTML Page Title
Last Updated :
18 Jan, 2024
HTML Page Title is essential for every web page. The main purpose of the HTML Title Page is to provide a meaningful title for your web page. The <title> tag is used to define the title. The text inside the <title> tag is rendered on the title bar of the browser. With the help of the title bar we generally identify the content of the web page.
Syntax
<title> HTML Page Title </title>
Importance of HTML Page Title
The title of the web page is essential in many ways. The table below illustrates the importance of HTML Page Title.
Search Engine Optimization
|
The HTML Page Title used by the Search engines in determining the relevance and content of a page
|
Web Page Recognition
|
Users quickly recognize the browser tab when multiple tabs open because the title appears in the title bar helps distinguish the webpage.
|
Bookmarking and Favorites
|
Whenever the user bookmarks a page, the title of the page is often used as the default name.
|
Browser History
|
The title is saved by default in the browser history.
|
Sharing Links
|
On the sharing webpage the title is used as the default text for the shared link.
|
Example: Illustration of the HTML Page Title.
HTML
<!DOCTYPE html>
< html lang = "en" >
< head >
< meta charset = "UTF-8" >
< meta name = "viewport" content=" width = device -width,
initial-scale = 1 .0">
< title >HTML Title Page</ title >
</ head >
< body >
< h1 >GeeksforGeeks</ h1 >
</ body >
</ html >
|
Output:
Share your thoughts in the comments
Please Login to comment...