?
Solved

adding keywords to html file

Posted on 2003-11-02
8
Medium Priority
?
364 Views
Last Modified: 2010-04-09
hi experts..
where can i write the keywords contents in my html file in order to make searching easy for people in search engines ?
0
Comment
Question by:anasalama
8 Comments
 
LVL 49

Accepted Solution

by:
sunray_2003 earned 200 total points
ID: 9667812
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 9668022
in your <meta> tag
0
 
LVL 2

Expert Comment

by:grnathan
ID: 9668462
You can add that to meta tag as told by bobbit31

e.g.

<meta name="keywords" content="HTML, DHTML, CSS, XML, XHTML, JavaScript, VBScript" />

Rams
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:dushpat
ID: 9669010
hi

you have to write keywords at the top but in <head> secton.

because search engine starting to read the page form the top and it has some characters limit.

so your keywords should at the top in code as possible.

your page content should have keywords that you define.

also you should add keywords in <Title> Tag.

also you should add keywords in <alt> Tag.

in the name/id of the image, table, form layer etc.

also you can should keywords as a comment.



0
 
LVL 2

Expert Comment

by:Netwing
ID: 9677049
Hi a correct html header with the keywords inside should be like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- Header 4 Title -->
<title>Short page description</title>

<!-- Header 4 Description -->
<meta name="DC.Description" content="Longer page description aprox 250 char.">

<!-- Header 4 Robots -->
<META NAME="KEYWORDS" CONTENT="here, are, your, keywords, seperated, with, semicolons">
<META NAME="RATING" CONTENT="General">
<meta name="Revisit-After" content="10 days">
<meta name="Robots" content="follow">
<META HTTP-EQUIV="EXPIRES" CONTENT="0">

<!-- Header 4 Language -->
<meta name="DC.Language" content="EN">
<meta http-equiv="Content-language" content="EN">

<!-- Header 4  Else -->
<META NAME="AUTHOR" CONTENT="your name">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>


but the keywords are not important any more to search engines due spamming. it is very important that you use a good page title and a good description. i asume you've a good content ;-) and with a good describing page title you'll be on top of google. the rest of the search engines are not so important.
0
 
LVL 15

Expert Comment

by:jimmack
ID: 9679273
Nice one Netwing.  Mind if I ask a couple of questions about this ;-)

Why are the meta names Description and Language prefixed with DC?

>> "here, are, your, keywords, seperated, with, semicolons"

I assume you mean commas ;-)
0
 
LVL 2

Expert Comment

by:Netwing
ID: 9679303
yes commas is right, the DC is the Dublin Core standard. but you can also write:

<meta name="Description" content="Longer page description aprox 250 char.">
<meta name="Language" content="EN">

or better both....
0
 
LVL 15

Expert Comment

by:jimmack
ID: 9679318
Thanx.  ;-)
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question