Monday 8 April 2013

How to Add Meta Tags to a Website/Blog

Leave a Comment
How to Add Meta Tags to a Website/Blog
Meta Tags are used to apply effects, define keywords, and select page language, as well as many other uses in HTML. These bits of code help a developer control how a webpage operates and can often control part of the visitor’s experience. Meta Tags are typically simple lines of code that can be used by even programmers new to HTML. This article will offer some simple Meta Tag examples that will help you tune up your website for future visitors.
  1. Add a Keyword meta tag to assist search engines in analyzing your page and producing more hits. Use the following code:

  2. <meta name="keywords" content="keyword1, keyword2, keyword3" />

    Place words that describe your website in the 'content' section where I've used the words 'keyword'. Add as many keywords as you like, separating each with a comma. Don't go overboard and list hundreds of keywords. A few well thought out words will work fine.

  3. Include the following tag to provide a description of your webpage.

  4. <meta name="description" content="a description of your website/blog goes here." />

    Write a short, concise description of your webpage in the space shown above. Again, a few good sentences is all that is needed.

  5. Define the default style sheet language when using Cascading Style Sheets with your page by adding the following code:

  6. <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />

    charset=iso-8859-1 is the most typical character set name in use.
Final Code for Meta Tags

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
<meta name="keywords" content="keyword1, keyword2, keyword3"" />
<meta name="description" content="a description of your website/blog goes here." />

Place the meta tags you want to insert between the opening <head> and closing </head> of your website/blog.
Simple typos can prevent html code from working correctly. If you have problems, check your spelling first.

0 comments :

Post a Comment

Related Posts Plugin for WordPress, Blogger...