Wednesday 4 May 2011

The HTML Meta Element and Title tag

The HTML Meta Element
The <meta> tag provides metadata about the HTML document.
Metadata will not be displayed on the page, but will be machine parsable.
The <meta> tag always goes inside the head element. The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services.

The following meta element defines a description of a page:

<head>
<meta name="description" content="write your website description" />
<meta name="keywords" content="write site related keywords" />
<meta name="author" content="website author name" />
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
</head>

Description mean:- Here you can write your website related description. Like what is in this site, which service provide this site etc.
Keywords mean:- Keyword is the more important for a website for "search engine optimization". So you must write the right keyword for your website. For example, if your site is a webdesign related site then you may write "webdesign, webdesign service, web development, webdesign company, service in webdesign etc".
Author mean:- Here you can write the site name or site author name, company name, site owner name etc.

One most important tag is "Title" tag.
This title is always shown in a header bar position. Title show you the site defination. So you must write a proper title for awebsite.
Emaple:

<title>your site title</title>
<title>website design, web development services</title>

1 comment:

  1. This post is great. Thank you for this post. I like this type of people who share knowledge with others.

    http://manojsingh1078.blogspot.com

    ReplyDelete