.

Sunday, March 28, 2010

Basic Rules for HTML Code-5th part

Providing Information to Search Engines:
The <head> section of your document can also include <meta> tags. These tags are
not rendered as visible text in the document-they are used to pass information and
commands to the client browser.
As its name implies, the <meta> tag contains meta information for the document.
Meta information is information about the document itself, instead of information
about the document's contents. Most of a document's meta information is generated
by the Web server that delivers the document. However, by using <meta> tags, you
can supply different or additional information about the document.
The amount of information you can specify with <meta> tags is quite extensive. If
you use the HTTP-EQUIV parameter in the <meta> tag, you can supply or replace
HTTP header information.
For example, the following <meta> tag defines the content
type of the document as HTML with the Latin character set (ISO-8859-1):

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

In addition, you can control some aspects of how the client browser treats the
document. You can specify how long the document should be cached (if cached at
all), refresh the browser with a different page after a delay, and so forth. For example,
the following two <meta> tags tell the browser not to cache the current page
(pragma, no-cache) and to refresh the browser window with a different page after 3
seconds (refresh):

<meta http-equiv-"pragma" content-"no-cache">
<meta http-equiv-"refresh"
content-"3;URL=http://www.example.com/newpage.html">

Always include at least a minimum amount of information in your documents to aid
search engines in correctly categorizing your documents. Two important pieces of
meta information are a description of the document and keywords relating to its
content.
The description and keywords information is provided by the following two
<meta> tags:

<meta name-"description" content-"The latest movie news">
<meta name-"keywords" content-"movie, movies, production,
genre, sci fi, horror, drama, comedy, anima, manga, news,
chat, bbs, discuss, review, recent">

Search engines such as Google (www.google.com) will also list the provided
description and keywords in the site’s entry.

Currently have 0 comments:


Leave a Reply