HTML title tag HTML title tag

It is a very normal practice to give a title to anything we write. For example, every book has a title (name), every chapter inside a book has a title (name) and also every email you write has a title (subject). Titles make it easy for anybody to understand what a given item is about. Similarly every webpage that you create should have a title. For this purpose HTML provides you with a <title> tag.  Before you start learning about the <title> tag please keep in mind that this is the favourite tag of all search engines. The search engines use the information inside the <title> tag to know about a webpage. If you miss this tag in your webpage, then search engines will not be very happy with your webpage.

What is the <title> tag all about?

The <title> tag is always written inside the <head> section ( and should never be written inside the <body> section ) of your web page and gives a very meaningful title to your page. This title is displayed in your browser for users to read. But more than that search engines like google will use it to know what your web page is all about.

Webpage title is the most important information search engines like google show in their search results. If you have ever searched Google, you will know that Google shows a blue color link to the website in its search results. For example, look at the image below

Image 

When you search for openeschool.com website in Google it shows you the results as above. Along with all the other important information these search results shows you the title of every webpage. In the above screenshot the text in blue which you see is the title of the web page. If you do not put title for the webpage, then what will Google show in place of the title ?? Nothing!

Give a meaningful title

Do not use the <title> tag to give any random and meaningless title to a webpage. When you think of giving a title to your web page you should keep in mind that

  1. The title for your webpage should summarize the content you write in that page in the best possible manner.
  2. If you were to search for your page in google then think what keywords you will be writing in google. The title for your webpage should contain those keywords so that people looking for similar information can find your page in google.

For example, in the Google search results above you see that the title for the OpenESchool.com website is OpenESchool | Free learning and educational networking. When somebody will search for “Free learning” there are chances that Google can show our page to them. If somebody will search for “educational networking” Google can show our page to them.

Therefore, always make sure that the title for your web page is very meaningful and should have the words which you think people will search in Google.

How to use the <title> tag?

The title tag is written inside the <head> section of you web page. Below is the HTML code to show you how to use the <title> tag

<html>        <head>            <title> OpenESchool – Free learning and educational networking </title>        </head>    </html>

In the example HTML code above we have added the <title> tag inside the <head> tag and written the title of the webpage inside the <title> tag. When you open this webpage in the browser this is how you can see the page title

Image

Need Learning Guidence?
Join our Study Groups and get step by step guidence.
Learn HTML and CSS
The goal of creating this study group is to help students who are beginners to HTML and CSS program
7
Members
1
Questions Asked
0
Tasks Added
Learn Website Development
This goal of this study group is to help students learn the basics of website development using HTM
1
Members
0
Questions Asked
0
Tasks Added
Website Development Interview Preparation
This goal of this study group is to help students prepare for their website development interviews.
1
Members
0
Questions Asked
0
Tasks Added
Web Wars 1.0 - Build Your Digital CV
The goal of this study group is to manage all the communication for the 'Web Wars 1.0 - Build Your
110
Members
0
Questions Asked
0
Tasks Added

Quick Links

E-Magazines

@

Total Followers
Study Group Created
Study Group Joined
Following Teacher
Following Organization
Blog Articles Added
Questions Asked
Questions Answered
Jobs Posted
Total Members in Group
Questions asked by members
Tasks added in this Group

Please wait..

Ok

Login to Open ESchool OR Create your account    Login   SignUp