w3c validator issue solution

Warning: The type attribute is unnecessary for JavaScript resources.

Remove type=”text/javascript” from all <script> reference

Error: An img element must have an alt attribute, except under certain conditions

Provide alt image attribute in all Image references. You can Leave them empty as alt=””

Error: The valign attribute on the td element is obsolete
Error: The align attribute on the td element is obsolete.


Replace width, valign and align with In-line or CSS defined style

style=”width:5%; vertical-align:top;text-align:left;”

Fot Table cellpadding and Cellspacing use style=”border-spacing: 2px;border:0px”

Error: Bad value prettyPhoto for attribute rel on element

Remove rel=”prettyPhoto”

Warning: Consider using the h1 element as a top-level heading only (all h1 elements

Just use on h1 tag on the TOP of page, replace all other with equivalent style

Error: Duplicate ID scroll0Content.

Remove or replace all duplicate Ids

Warning: Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.

You can replace Section with DIV.

Contact me if you need personalised help

Leave a Reply

Your email address will not be published. Required fields are marked *