homepage Welcome to WebmasterWorld Guest from 54.198.130.203
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Are these meta tags correct?
Yangtze




msg:566234
 5:50 pm on Jan 20, 2006 (gmt 0)

I am checking if the meta tags of my site are correct.
Could anybody here give me some help?

Here is what I am using now:

<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<META name=owner value="My Name">
<META name=categories value="My industry">
<META content=My Website Description=Description>
<META content=My Keywords=Keywords>

thanks

 

encyclo




msg:566235
 6:28 pm on Jan 20, 2006 (gmt 0)

Every meta tag hav either a
http-equiv or a name attribute, followed by a content attribute. You should always place the values in quotes, and a trailing slash is only required of you are using XHTML rather than HTML. I assume that ISO-8859-1 is the correct charset for your site. Don't forget the most important part of the document head which is the title element. So you get:

<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>The title of my page</title>
<meta name="description" content=My Website Description">
<META name="keywords" content=My Keywords">

The following are not only incorrect but entirely unnecessary - just delete them:

<META name=owner value="My Name">
<META name=categories value="My industry">

recep




msg:566236
 8:51 pm on Jan 20, 2006 (gmt 0)

yeah l agree with encyclo, he wrote the correct metas... metas are very important issues...
use them correctly if you wanna get indexed.

[edited by: jatar_k at 9:00 pm (utc) on Jan. 20, 2006]
[edit reason] no sigs thanks [/edit]

dwighty




msg:566237
 10:06 am on Jan 21, 2006 (gmt 0)

You should also change the Meta Tags to...

<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<title>The title of my page</title>
<meta name="description" content=My Website Description" />
<meta name="keywords" content=My Keywords" />

;-)

tombola




msg:566238
 10:36 am on Jan 21, 2006 (gmt 0)

... and while we are correcting each other: don't forget a quote after content=

So:

<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1" />
<title>The title of my page</title>
<meta name="description" content="My Website Description" />
<meta name="keywords" content="My Keywords" />

tedster




msg:566239
 3:30 pm on Jan 21, 2006 (gmt 0)

Great reference thread from the forum Library:

Meta tags and more - from <head> to </head> [webmasterworld.com]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved