Keywords and Meta Tags

Keywords and Meta Tags

The HTML code that makes up a Web page has two distinct sections the header and the body. The HTML body contains the information that is displayed by the browser, whereas the HTML header holds information about the contents of the body section. Information such as the document title, a brief description of the document contents, the name of the author, date of creation, and so on can be found in <META> tags within the header section of an HTML document.

A good example of information contained in meta tags is in the following HTML code, extracted from a story carried on CNN about spam and junk e-mails:

<html>
<head>
  <title>CNN - Top 10 spam control tools - September 21, 1998</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <meta name="Description" content="Try these tools for ridding your in-box of
spam.">
  <meta name="keywords" content="spam, unsolicited e-mail, commercial e-mail,
junk e-mail, messages">
  <meta name="author" content="Sally Neuman">
  <meta name="source" content="PC World">
  <meta name="publisher" content="PC World">
<meta name="publicationDate" content="September 21, 1998">
  <meta name="language" content="English">
  <meta name="editor" content="Sherry McInroy">
  <meta name="contentMirror" content="http://www.pcworld.com/pcwtoday/article/0,1510,8122,00.html">
</head>

This code doesn't leak any sensitive information. However, in some cases, meta tags are another opportunity for a careless mistake to slip in.

 



Web Hacking(c) Attacks and Defense
Web Hacking: Attacks and Defense
ISBN: 0201761769
EAN: 2147483647
Year: 2005
Pages: 156

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net