471,120 Members | 1,686 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,120 software developers and data experts.

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 1741
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.