473,385 Members | 1,325 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 1879
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

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

Similar topics

3
by: josh dismukes | last post by:
/// here is the code i'm getting a parse error on the last line of the code which /// is </html> any help will be much appreciated. <?php session_start ();
5
by: Ben | last post by:
hi all, just wondering if it is possible to call a function that resides on external php file before any <html> tag?? i have a code that sets a cookie which needs to be called before <html> tag....
9
by: Philip TAYLOR | last post by:
Configuring a new instance of IIS, I noticed that it allows an HTML-formatted document trailer to be appended to every document served. Unfortunately, on checking its behaviour, I find that it...
10
by: Kathy Burke | last post by:
Hi, in trying to discover why my RegisterStartUpScript wouldn't work (I do NOT see it in the HTML source), I looked at the HTML source of a page where I do an XslTransform. First, I get the...
2
by: taras.di | last post by:
Hi everyone, Is it possible to place javascript outside of <html> tags? I'm trying it on mozilla atm, and it seems to be working, but I was more worried about the older browsers. Cheers ...
4
by: Mark G. | last post by:
Hello. I am attempting to write a "scraper" to download information from a commercial web site. Oddly enough, they don't want to make this easy for me! Their pages include plenty of Javascript,...
1
by: yawnmoth | last post by:
I'm trying to mess around with PHP5's DOM functions and have run into something that confuses me: <?php $dom = new DOMDocument(); $dom->loadHTML('<html></html>'); echo...
1
by: John | last post by:
Hi var poster="<html><head..... etc .... </html>"; var animal='dog'; The string contains images and text that changes. Originally I wanted to do something like print "<a href=" +...
3
by: Arodicus | last post by:
This is bugging me: how do I reference the topmost node (HTML) within a document? I'd like to set a class on it, which specifies various browser/os/versions so that several...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.