Results 1 to 2 of 2

Hybrid View

  1. #1
    Join Date
    May 2007
    Posts
    213
    Plugin Contributions
    0

    Default W3C Markup Validation question

    Hello... I was hoping someone could help me out some here. I am trying to run the W3C Validator at http://validator.w3.org/ and I am seeing a ton of errors related to cPath, the = sign and the & in the links I have embedded in my site.

    If I want to reference the following for instance in my footer should I escape things like the & and = sign??? Seems odd, but I am no expert by any means.
    <a href="index.php?main_page=index&cPath=2">Click Here</a>Here are some of the errors I am seeing:

    reference to entity "cPath" for which no system identifier could be generated.
    href="index.php?main_page=index&cPath=2"

    reference not terminated by REFC delimiter.
    …href="index.php?main_page=index&cPath=1"

    entity was defined here.
    <a href="index.php?main_page=index&cPath=2"...

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: W3C Markup Validation question

    If you are going to use an & symbol in your HTML, enter it as &amp; instead.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Question about 'validating' site with W3C Markup
    By milli in forum General Questions
    Replies: 4
    Last Post: 23 Apr 2011, 03:32 PM
  2. w3c validation
    By lieven23 in forum General Questions
    Replies: 14
    Last Post: 15 Nov 2010, 05:36 PM
  3. W3C Markup Validation Errors Help
    By mw4kids in forum General Questions
    Replies: 3
    Last Post: 12 Nov 2009, 05:04 AM

Posting Permissions

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