Meta Tags

by Chris Standa, Moringa School Student

HTML meta tags are used to provide search engines with additional information about HTML documents. These include name of the author, a short description about the HTML document, keywords. In other words, meta tags provide information about the data found on your HTML documents. The metadata is very important in search engine optimization since they are used by search engines such as Google, Yahoo, Bing, DuckDuckGo, Baidu , etc to categories websites. This is done by through specified elements such as website title, keywords and page description. Specified elements are set within the head tag section of the HTML document just before the closing title tags.

Here is a simple example:

<!DOCTYPE html> <html>
<head>
<META name=”description” content=”A short description of your web-page.”>
<META name=”keywords” content=”Enter important keywords here. e.g. Android, Ruby, Java, iOs, etc. “>
<title>Meta Tags</title>
</head>
<body> >>>>>Your content goes here.<<<<<
</body>

</html>

There are a number of tags that can be used but the most important ones are the title, keywords and description tags.

1. Title attribute
The title tag is normally used to display information at the top of the browser and as the heading in search results .

2. Description attribute
The description attribute is used by search engines to display search results by providing a brief plain language description of what your page is about. e.g.

<meta name=”description” content=”Get a taxi, private car or rideshare from your mobile phone. Uber connects you with a driver in minutes. Use our app in cities around the world.”>

Smiley face

Description attribute is displayed as the above search result.

3. Keywords attribute
This attribute is used by search engines to index HTML documents. It normally contains words that are relevant to the content of the HTML document. Google does not use the keywords meta tag in search ranking after realizing that some SEO experts abused this attribute by using words that were not related to their pages in order to generate traffic from other popular sites, however, China’s search engine Baidu uses keywords in its search algorithm.There are many other tags that can be used, however, here are a few more examples:

<meta name=”copyright” content=”text”>

<meta name=”language” content=”English”>

<meta name=”web_author” content=”text”>

<meta name=”googlebot” content=”noodp”>

<meta name=”robots” content=”noindex, follow”>

References:

http://www.w3schools.com/tags/tag_meta.asp

http://www.wordstream.com/meta-tags

http://codex.wordpress.org/Meta_Tags_in_WordPress

(Check out Chris’ personal website here.)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s