Forum Moderators: open
If I use CSE Validator, I fix all the errors and everything works great.
But if i use the [validator.w3.org,...] i get problems.
I'm wondering if i can email someone a couple files or a zip file with my htm files to see if anyone else can figure this out or tell me what I may be doing wrong...
or even the URL for that matter.
thanks!
Jim
What's the error you're having a problem with? Posting the discription here on the board should be sufficient enough. That way it will help others experiencing the same problem as well
then when i add the meta tag:
<meta http-equiv="Content-type" content="text/html;charset=iso-8859-1">
i get this:
This page is not Valid HTML 4.01 Transitional!
Below are the results of attempting to parse this document with an SGML parser.
with a couple lines of "error" or "compatibility" stuff below...
Line 31, column 92: end tag for element "EMBED" which is not open (explain...).
...omedia.com/go/getflashplayer"></embed>');
^
Line 54, column 54: there is no attribute "BACKGROUND" (explain...).
but why would it say "not valid html 4.01 trans"?
is it because there are errors?
should even be using html 4.01 trans?
Which element has the background attribute?
Yes, it says that it's not valid HTML 4.01 since there are errors. I'd recommend sticking to the Transitional doctype for now... since there would be even more errors if you attempted to validate against the Strict doctype ;)
this is the line 54 code
</tr></table></center><center><table background="images/mai_349452-R1-E029_wh.jpg" width="800" border="1" cellspacing="0" cellpadding="20" bgcolor="#000000" bordercolor="#ff0000"><tr><!-- Row 1 Column 1 --><td width=500><FONT color="#DAD9DE"><FONT face=verdana size=2><b> <p><br></b></font></font>
can these errors hurt spiders from spidering my page?
Jim
can these errors hurt spiders from spidering my page
It depends on the error... If the error is an open tag (such as <title instead of <title>), then yes, it most likely will hurt the spider's ability to crawl your page.
Other errors? Probably not hurt the spider... but it might hurt the user's ability to view your page.
Also, you should consider not using <font> or <center> tags at all. And, perhaps also look into using CSS for background, padding, centering, fonts, colors, etc.
But, let's not worry about that for now -- first get the page to validate
Then use CSS
Then try to validate against the Strict doctype ;)
</tr></table></center><center><table background="images/mai_349452-R1-E029_wh.jpg" width="800" border="1" cellspacing="0" cellpadding="20" bgcolor="#000000" bordercolor="#ff0000"><tr><!-- Row 1 Column 1 --><td width=500><FONT color="#DAD9DE"><FONT face=verdana size=2><b> <p><br></b></font></font>
<p align="left"><font color="#000000">Rings<br>
</font><font color="#808080" size="2" face="verdana"><b><a href="http://www.example.com/sample_product.html">Sample Product</a></b></font><font color="#808080"><br>
</font><font color="#808080" size="2" face="verdana"><b><a href="http://www.example.com/sample_product_2.html">Sample Product 2</a></b></font><font color="#808080"><br>
</font><font color="#808080" size="2" face="verdana"><b><a href="http://www.example.com/sample_product_3.html">Sample Product 3</a></b></font>
[edited by: tedster at 2:31 am (utc) on Mar. 2, 2004]
[edit reason] remove specifics [/edit]
So instead of <table background="someimage.png"> do <table style="background-image : url(someimage.png);">
Otherwise you can use an id, try this:
<html>
<head>
<title>Gnu</title>
<style type="text/css">
#foobar {
background-image : url(someimage.png);
}
</style>
</head>
<body>
<table id="foobar">
[...]
</table>
</body>
</html>
You should do all the tags in lower case. You can't have paragraphs inside font tags. The code is messy. All attribute values should be in "quotes".
.
>> <font color="#808080" size="2" face="verdana"><b><a href="http://www.example.com/sample_product.html">Sample Product</a></b></font> <<
This is code bloat. This is a heading, no? You just need:
<hx> the link in here </hx>
or maybe even do this all as a list:
<ul>
<li> link </li>
<li> link </li> etc.
Get rid of all the <font>, <b> and <i> tags and use CSS.
[edited by: tedster at 2:34 am (utc) on Mar. 2, 2004]
[edit reason] use example.com [/edit]