468,773 Members | 2,335 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,773 developers. It's quick & easy.

Metatags before <html> tag

hi everyone,

i have a question about place of metatags.

i've started to seo for active webpage of our client(which is not coded by me) ,but website is very bad coded then i'm a lazy programmer : ) there are so many front pages and but i have a connection include page to use print metatags..

so, what if i put metatags before the <html> tag? is it work for search engines? (especially google and yahoo)
Oct 3 '07 #1
3 1696
Death Slaught
1,137 1GB
hi everyone,

i have a question about place of metatags.

i've started to seo for active webpage of our client(which is not coded by me) ,but website is very bad coded then i'm a lazy programmer : ) there are so many front pages and but i have a connection include page to use print metatags..

so, what if i put metatags before the <html> tag? is it work for search engines? (especially google and yahoo)
Sorry but I have no idea what your asking....no offence but please try and use better grammer.

As far as I know you can't use meta tags outside of the html tags, but yes you can use meta tags for search engines. here's a link to learn about the meta tag.

Hope it helps, Death
Oct 3 '07 #2
Sorry but I have no idea what your asking....no offence but please try and use better grammer.

As far as I know you can't use meta tags outside of the html tags, but yes you can use meta tags for search engines. here's a link to learn about the meta tag.

Hope it helps, Death
sorry for bad grammer.

Expand|Select|Wrap|Line Numbers
  1. <meta name="description" content="description about website">
  2. <meta name="keywords" content="website keywords bla bla bla">
  3. <html>
  4. <head>
  5. <title>Page Title</title>
  6. </head>
  7. <body>blablbalbla</body>
  8. </html>
do search engines index page's meta tags?
Oct 4 '07 #3
drhowarddrfine
7,435 Expert 4TB
Putting meta tags before the html tag is invalid, causes IE to go into quirks, and will probably be ignored by search engines since it's in the wrong place.
Oct 4 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by josh dismukes | last post: by
5 posts views Thread by Ben | last post: by
2 posts views Thread by taras.di | last post: by
4 posts views Thread by Mark G. | last post: by
reply views Thread by zhoujie | last post: by
2 posts views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.