Log in

View Full Version : Need help validating some code



christina.helen
03-13-2009, 03:20 PM
Hi, I have been validating my websites to XHTML Trans 1.0 and have one page that has stumped me. It is for an active site: www.coastalfreshfarms.com/safety.html and the direct link to the code validator (at w3c.org) is: http://validator.w3.org/check?uri=http%3A%2F%2Fwww.coastalfreshfarms.com%2Fsafety.html&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.606

Any ideas? Thanks in advance.

Schmoopy
03-13-2009, 03:38 PM
It's because you have <h3> and other tags contained within the <p> tag, alter that and it should fix it.

Line 31:

paragraph tag starts here -

--------> <p>Coastal Fresh Farms, Inc. recognizes the importance of assuring that the food we distribute is clean and safe. That is why we only deal with products that have passed rigorous safety requirements.<br /><br />

Line 63:

paragraph tag ends here -

Our Mexico locations comply with the new mandatory regulations of GAP and GMP developed by the National Service of Sanitation, Innocuously and Quality of Agricultural Foods (Servicio Nacional de Sanidad, Inocuidad y Calidad Agroalimentaria).
</p> <----------
</div>

christina.helen
03-13-2009, 04:20 PM
Wow, thanks for the quick response. I went back and wrapped all the paragraphs with <p> tags (that seems to make so much sense as I write it) and everything validated. Sometimes fresh eyes make a world of difference. Thanks again.

Schmoopy
03-13-2009, 04:22 PM
No problem, good luck with your site :)