Forum Moderators: open

Message Too Old, No Replies

Validator showing errors in my code

there are error in my code

         

xbl01234

8:04 am on Jan 4, 2007 (gmt 0)

10+ Year Member



Could anyone help me to find some errors from the following; Thanks:p

I got some error massage from my validator;

1. Comment: The lite edition missed 2 warnings that the standard or professional edition would have found.
2. Comment: 0 errors, 0 warnings, 0 messages, 2 comments.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html>
<body>

<h4>Cell that spans two rows:</h4>
<table border="1">
<tr>
<th>First Name:</th>
<td>Bill Gates</td>
</tr>
<tr>
<th rowspan="2">Telephone:</th>
<td>555 77 854</td>
</tr>
<tr>
<td>555 77 855</td>
</tr>
</table>
</body>
</html>

phranque

8:32 am on Jan 4, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



you can paste this code into the html validator on the world wide web consortium site and start fixing it by adding a document head:
[validator.w3.org...]

Robin_reala

9:40 am on Jan 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



...and once you've added a <head> you'll need a <title> inside the <head> as well.

encyclo

1:20 pm on Jan 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



1. Comment: The lite edition missed 2 warnings that the standard or professional edition would have found.
2. Comment: 0 errors, 0 warnings, 0 messages, 2 comments.

This sounds less like an error message and more like a sales pitch. If this "lite" validator is so limited that it won't even warn about a missing

title
element, then it is not worth using at all.

Rather than pay out for a validator tool, why not use the free W3C one:

[validator.w3.org...]

There is also the free web developer extension for Firefox which works perfectly too.

xbl01234

2:04 pm on Jan 4, 2007 (gmt 0)

10+ Year Member



Thanks a lot

cmarshall

2:40 pm on Jan 4, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Someone on this forum suggested that I use the Total Validator [totalvalidator.com] tool.

So far, it has worked out fine for me.

However, as someone suggested, use Firefox [mozilla.com] with the absolutely invaluable Web Developer [chrispederick.com] add-on. It gives you so many useful tools that I don't even know where to start. I have also added tools to it for colorblind simulation [colorlab.wickline.org], as well as for validators like Hermish [hermish.com] tools.

These are all free tools that I believe are directly useful to Web developers.

[edited by: tedster at 10:03 pm (utc) on Jan. 4, 2007]

xbl01234

10:20 am on Jan 5, 2007 (gmt 0)

10+ Year Member



Hi cmarshall;
Thanks for your Validator, they are quite good, and the Web Developer is interesting tool. unfortunaly, the website for the Hermish does not offer to download.

cmarshall

11:27 am on Jan 5, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



the website for the Hermish does not offer to download.

Yeah, but he has some very useful tools in there, like a browser compatibility tester [hermish.com].

Validome [validome.org] is a multi-protocol validator that allows upload. I like it because I can validate WML (WAP) against it.

xbl01234

7:34 am on Jan 6, 2007 (gmt 0)

10+ Year Member



Thanks cmarshall.

g1smd

12:15 pm on Jan 15, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You need that head section with character set and title tags included.

Try also [validator.w3.org...]