Link to home
Start Free TrialLog in
Avatar of anasalama
anasalama

asked on

adding keywords to html file

hi experts..
where can i write the keywords contents in my html file in order to make searching easy for people in search engines ?
ASKER CERTIFIED SOLUTION
Avatar of sunray_2003
sunray_2003
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
in your <meta> tag
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
Avatar of dushpat
dushpat

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.



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.
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 ;-)
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....
Thanx.  ;-)