Results 1 to 4 of 4

Thread: Need help validating some code

  1. #1
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need help validating some code

    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=ht...idator%2F1.606

    Any ideas? Thanks in advance.

  2. #2
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    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>

  3. #3
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    Sep 2008
    Location
    Bristol - UK
    Posts
    842
    Thanks
    32
    Thanked 132 Times in 131 Posts

    Default

    No problem, good luck with your site

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •