what is the HTML title tag

what is the HTML title tag 

https://webdesigningtheory.blogspot.com

What is the HTML <title> tag

✅ html<title> tag  most important element in html.
html <title> tag specifies the title of html document and represents the page   name shown the browser and search engines

✅ html <title> tag always placed inside <head>tag of html document
 search engine result
 user bookmark a page

 Syntax of HTML <title> tag

<head>
     
  <title> HTML Title  tag </title>
    </head>


why is the <title> tag important

✔ shows page name in browser tabs.

✔ user identify open tabs.

✔ SEO improves search engine optimization

✔ clickable headline in search results 

✔ helps bookmarking pages

How the <title> tag Works.

  1. Browser reads the <title> tag from <head>
  2. title text appears
  3. search engines main page title.
  4.  bookmarks  save text as page name.

what is the HTML title tag 
Example 

<!DOCTYPE html>
<html>
<head>
    <title> HTML Title  tag  </title>
</head>
<body>
   
    <h1> HTML Title Tag </h1>
    <p>learn Free HTML Language<br>
https://webdesigningtheory.blogspot.com</p>
   
</body>
</html>

what is the HTML title tag 
Explain Program

Step  1] 

<!DOCTYPE html>

  • This declare the document type.
  • browser that the document is written in html

Step 2 ]

<html>.... . </html>

  • html is the root element of the html page.
  •  Every thing inside it is part of the webpage.

Step 3]

<head>
     
  <title>HTML Title  tag </title>
    </head>

  •   <head>  section 
  •   head section contains metadata about page. not visible on the page itself.
  •  <title> tag  title section set the title of the page shows the browser tab. 
  • text appear bookmarks.

 Step 4]


<h1> HTML Title Tag </h1>
  <p>Blog homepage learn Free HTML Language<br>
https://webdesigningtheory.blogspot.com</p>
   

  • <body> body contains the visible content webpage.
  • <HTML <body> main part of webpage.
  • html <h1> tag  Largest heading.  
  • Main  HTML <title>  tag of the webpage.
  • HTML <P> Tag Creates paragraph of text.
  • HTML <br> tag use line break ,text to next line.
Step 5 ]

   Closing tag


</body>
</html>

what is the HTML title tag 

Output

what is the HTML title tag







Related Post :-

how to abbr tag in html

how to use comment tag in html

how to use small tag in html

Comments

Popular posts from this blog

HTML pre tag

Inline css in html

html iframe

CSS text-transform Property

Html anchor tag