Add Title in an HTML web page

Whenever you open a web page, a text is visible on the browser toolbar. It provides information about the HTML document and called title.

Adding a title is considered good for SEO.  The search engine results show the title. To add a title, use the <title> tag,

<title>HTML Example</title>

Add the <title>…</title> tag inside <head>…</head> tag,

<head>
   <title>HTML Title Tag</title>
</head>

The below example adds a title in an HTML web page,

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Title Example</title>
   </head>
   <body>
   <h2>Example</h2>
   <p>This is an example of using title in an HTML web page.</p>
   </body>
</html>

The output:

HTML Title

More Examples


Inserting Image in HTML
HTML5 Tutorial
Studyopedia Editorial Staff
contact@studyopedia.com

We work to create programming tutorials for all.

No Comments

Post A Comment