View Single Post
  #7 (permalink)  
Old 11-21-2007, 07:04 PM
Webnauts's Avatar
Webnauts Webnauts is offline
WebProWorld 1,000+ Club
 

Join Date: Aug 2003
Location: Worldwide
Posts: 7,305
Webnauts RepRank 3Webnauts RepRank 3
Default Re: "Indian Real Estate Directory - Please Review"

Quote:
Originally Posted by chadhaajay View Post
Hello Webnauts,

If you see the source code clearly, the errors pointed out by W3C validator are of the javascript code used in "Bookmark" link. We have made sure that all other code passes all validation checks by W3C XHTML validator. So, your detailed review will be much appreciated if you leave the javascript code issues pointed by W3C for now.

Waiting for your reply...!

Sincerely,

Ajay Chadha (Director)
Chadha Software Technologies
Sincerely what you say is not true. The problems are not alone due to that javascript:

Lines 32,193,227: In XHTML documents, style and script content must not be in a comment because it technically means that the browser will see it as a comment and not as actual style or script content (though browsers are currently forgiving about this). However, not using comments makes your document less compatible with pre HTML 3.2 browsers (but most browsers now in use are HTML 3.2+ compatible). For maximum compatibility, it is recommended putting the script (especially longer scripts) in an external file and using the "src" attribute to specify the external file. The next best option for XHTML documents would be to not put the script content in a comment and to disregard pre HTML 3.2 browsers.

Line 78: For better backward compatibility with HTML, use a space character before the '/' character.

Line 89: The value of the "name" attribute ("submit") may conflict with properties of the JavaScript Form object when using JavaScript. It is recommended that the value of the "name" attribute be changed to avoid potential conflict when accessing the form object's properties, methods, and event handlers. Values that should not be used include "action", "elements", "encoding", "length", "method", "name", "target", "reset", "submit", and some others.

Line 168: An "input" element with type="image" typically uses a "name" attribute so that "name.x" and "name.y" values can be submitted with the form to indicate where the user clicked on the image. However, if you don't need the location of where the user clicked, then omitting the "name" attribute should work with most browsers.

Line 289: Sine when does an anchor tag close like this in a JavaScript
document.write('">Bookmark</a>');
I thought is should be like this: document.write('">Bookmark<\/a>');

At last, all your <table> tags lack the "summary" attribute.

I don't know who told you that JavaScript story, but I guess he could learn something from my post here.

I will have a look again, if these problems are solved. Can't do more now.

Sincerely,

John S. Britsios
CEO & Chief Consultant
SEO Workers & Webnauts Net
Reply With Quote