HTML meta tag HTML meta tag

In this tutorial let's move on to the <meta> tag and help you learn about its importance and usage when creating a webpage. As mentioned in the previous tutorials, the head section of a webpage contains the metadata about a webpage. The <meta> tag, along with the <title> tag, helps in adding this metadata information to the page. The information you add using the <meta> tag is used by the browser and the search engines to know more about the webpage. Just like the <title> tag the <meta> tag is also written inside the <head> tag and has a very large SEO importance.

Information you can write using <meta> tags

Using the meta tags you can provide the following information about your page to search engines like Google

  1. Brief description - About 160 character long description about the webpage.
  2. Important keywords - Comma seperated list of words which are relevant to the webpage.
  3. Author - For blogs and news sites you can write the name of the author using the meta tag.

Meta tag is not only restricted to the above type of information. It can be used to provide many other types of information to search engines. But we have only listed the most common information you can add to the webpage using the meta tags.

Syntax for writing a <meta> tag

The <meta> tag has two important attributes

  1. Name
  2. Content

The name attribute is used to define what type of information we are providing and the content attribute is used to write the actual information.

For example, look at the code below

<html>            <head>            <title> OpenESchool – Free learning </title>            <meta name=”description” content=” You can find study material for various subjects on this website” />            <meta name=”keywords” content=”html,css,c#,java,php” />            <meta name=”author” content=”Ravinder Singh” />        </head>        <body>        </body>    </html>

In the above code example we have used the <meta> tags to write the description, keywords and author information for the webpage. Notice that there are 3 <meta> tags with their name attributes set to description, keywords, author. The content attribute has been used to write the actual information.

Do meta tags have same SEO importance as the title tag?

The answer to this question is both yes and no. The title tag is the most important tag from the search engine optimization view point. Not using the title tag will very badly affect the search engine optimization for your web page. The meta tags also have their own importance but not using them will not cause much harm to the search engine optimization for your page.

Google no longer give importance to the meta information like keywords and description in its search algorithm. It reads the information in the meta tag but uses many other factors in connection with the information in the meta tag to decide your search engine rankings.

So as a good practice you should use both the title and the meta tags in your web page. But skipping the meta information like keywords and description will not harm you much.

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