A meta tag is an element that gives some functional instructions
to applications that access a webpage. The clients include other webpages (such as search engines)
that access your webpage, or objects connected on the visitor’s computer. The objects include
audio/video devices and other types of machines that assist the visitor when browsing the Internet.
Meta tags are created in the head section of a webpage. Most meta
tags are created using a tag named meta. The meta element uses (or must use)
attributes that indicate what it is used for. The primary element used by the meta
tag is named name. This attribute is used to specify the meta tag that is being
defined. The second attribute is named content and it holds the value of the
first attribute. The meta element is not closed. Therefore, the primary formula
to create a meta tag is:
<meta name="value" content="value" . . . >
Because you must name the meta tag you want to create, you should
(must) create an individual meta tag for each definition.
One of the meta tags is named author. It is used to specify
the name of the person who (or the company that) created (and is in charge of managing)
the webpage.
Practical Learning: Specifying the Author of a Webpage |
|
- Open the index.htm file in your text editor
- Change the document as follows:
<html>
<head>
<meta name="author" content="Catherine Watts">
<title>Watts A Loan</title>
<head>
. . .
- Save the file
The Description of a Webpage
|
|
To give search engines and other visitors a behind-the-scenes overview
of a webpage, you can create a meta tag named description. For the value of the
content attribute, write a sentence any way you want.
Practical Learning: Specifying the Author of a Webpage |
|
- Change the document as follows:
<html>
<head>
<meta name="author" content="Catherine Watts">
<meta name="description" content="This is the corporate website of Watts A Loan, a small business that provides loans and financial services.">
<title>Watts A Loan:</title>
<head>
. . .
- Save the file
The Keywords of a Webpage
|
|
To assist search engines or other applications to know what your
webpage contains, you can create a meta tag named keywords. In the content
attribute, create a list of the desired words from the content of your
webpage.
Practical Learning: Specifying the
Keywords of a Webpage |
|
- Change the document as follows:
<html>
<head>
<meta name="author" content="Catherine Watts">
<meta name="keywords" content="watts, personal, business, loan, watts a loan, wattsaloan">
<meta name="description" content="This is the corporate website of Watts A Loan, a small business that provides loans and financial services.">
<title>Watts A Loan</title>
<head>
. . .
- Save and close the index.htm file
- Open the aboutus.htm file in your text editor
- Edit its head section as follows:
<html>
<head>
<meta name="author" content="Catherine Watts">
<meta name="keywords" content="watts, personal, business, loan, about, us, wattsaloan, mission, statement, business, strategy, communitty, outreach">
<meta name="description" content="This webpage describes Watts A Loan business. The page also provides information about the management and the leadership personnel of the company.">
<title>Watts A Loan: About Us</title>
<head>
<body>
<h1>Watts A Loan: About Us</h1>
. . .
- Save and close the aboutus.htm file
- Open the process.htm file in your text editor
- Change the content of the document as follows:
<html>
<head>
<meta name="author" content="Catherine Watts">
<meta name="keywords" content="watts, personal, business, loan, process, step">
<meta name="description" content="This webpage describes the process of applying or getting a loan from Watts A Loan.">
<title>Watts A Loan: Loan Process</title>
<head>
<body>
. . .
</body>
</html>
- Save and close the process.htm file
If you used a certain software product to create your webpage and
you want to indicate it, create an attribute named generator and specify the
name of the software in the content attribute. Here is an example:
<meta name="generator" description="Microsoft Expression 4.0 Web">
|
|