PDA

View Full Version : HTML Check


flier1952
21-10-2005, 15:20/03:20PM
Hi guys,

Did a home page check at SiteRtpCard and got a 1 out of 10 on the HTML check. Showed HTTML Errors 55, Warnings 456.

What does this mean exactly?

Also showed a lodtime time check of 87.24 seconds? Really confused on this one, because the page seems to load fine when I bring iit up through Yahoo, Google, etc.

Any help is appreciated.

:cheers:

Connie
21-10-2005, 15:30/03:30PM
You have a lot of things wrong with your code. I'm not familiar with the checker you used. Why not try this and see if you get the same results. http://validator.w3.org/

In regard to load time your pages will load faster for you because your browser has them cached. There are some other things to consider such as how you are connected to the Internet.

flier1952
21-10-2005, 15:59/03:59PM
Hi Connie,

Just used your tool and still got the erros. In reviewing the errors via the highlights in red, it looks like there are mostly HTML characters missing.

If I knew how to get in to the code I could probably fix them myself.

flier1952
21-10-2005, 17:06/05:06PM
Noooo...in looking at this a little more it appears that "alt" and "type" are missing.

Connie
21-10-2005, 17:28/05:28PM
Not using the alt attribute will cause errors. Is this the site in your profile? If so I will run it through the validator to see what else might need to be done.

Sometimes one error at the top of a page can cause errors throughout the page.

flier1952
21-10-2005, 17:48/05:48PM
Hi Connie,

I ran http://store.mydomain.com/index.html and got 216 errors.

Most seem to be alt with a good smattering of other attribute errors.

I saved the error rpt to my hard drive for reference, so the can be fixed. I am going back to the folks that installed the templates and ask them to make the corrections.

One final question...I thought I read somewhere in my Google travels that Googlebots have trouble with HTML 4.0? Maybe I was dreaming.

Connie
21-10-2005, 18:05/06:05PM
Google has no problems with HTML 4. 0

I doubt that whoever you bought templates from will fix the problem. For instance the alt attribute would probably be different for each picture.

g1smd
21-10-2005, 20:23/08:23PM
Just add alt="" for each missing attribute for now. That will make the document valid.

That will stop those error messages and allow you to see if there are any more serious errors in the code.

flier1952
01-11-2005, 13:23/01:23PM
Hi Guys,

In looking at the HTML code, I was wondering if it really necessary to have all those </tr>'s and </td> at the end of the tables? Here is an example:

<form method=GET action=http://search.store.yahoo.com/cgi-bin/nsearch><tr>
<td height=45 class=navspec><input type=hidden name=catalog value=yhst-48659226837326>
<input name=query type=text class=topsearch value="model, brand, keyword" size=13>
<input type=hidden name=.autodone value=http://store.yahoo.com/yhst-48659226837326/nsearch.html>
<input name=Submit type=submit class=Submit value=Find>
<a href=http://store.yahoo.com/yhst-48659226837326/nsearch.html><font color="#FFFFFF" size=-2><u>search help</u></font></a></td>
</tr></form> Also wondering about this end of form?
<tr>
<td class=heading1>Shop By Brand</td>
</tr>
</table> Looks like we ended a form table here?

</td> Here: Why do I need these?
</tr> Here
<tr> Here
<td> Here

Began another table below on next line for nav specs.

<table border=0 cellspacing=0 cellpadding=0 width=170><tr><td class=navspec><a href=http://store.yahoo.com/yhst-48659226837326/bulova1.html>Bulova Watches[SIZE=3]

Thanks

Blue
01-11-2005, 13:56/01:56PM
I'm just guessing, but those are probably closing tags for table elements that were opened in another part of the dynamically generated code.

I've edited sites that work this way, and though it is a pain, it does make sense once you've grasped how all the parts come together to make a single page.

The only way to see if they are needed is to view the code as a whole.

flier1952
01-11-2005, 14:07/02:07PM
Hi Blue,

I am trying to correct some other errors and a slug of warnings using HTML kit. What I was looking at was the check-out page and it appears that the nav bar and other page elemts are not displaying properly. They are the same elements contained on the home page and that are global throughout the site. Just not displaying correctly.

There were errors being shown when loading the home page as well. This was indicated by a small icon down on the lower left side of the page where the word "DONE" usually shows up after the page has loaded.