[help]XHTML 1.0 transitional

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by galaxyAbstractor, Oct 24, 2008.

  1. galaxyAbstractor

    galaxyAbstractor Community Advocate Community Support

    Messages:
    5,508
    Likes Received:
    35
    Trophy Points:
    48
    My page was xhtml 1.0 transitional until I added domainname2342345.com/advertisehere.php?id=27098&type=1.

    w3c says type=1 is wrong, but I can't delete that because it's a part of the URL. Any idea how I can keep my site valid with the link?
     
  2. Scoochi2

    Scoochi2 New Member

    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    0
    Is the problem that the validator isn't validating your XHTML? It may be because & isn't part of the url.
    Ampersands should be urlencoded if used within a URL as they are reserved characters.
    Although 99.9% of web browsers still allow it.

    Try replacing the & with & in your links. So, for example:
    domainname2342345.com/advertisehere.php?id=27098&type=1
     
  3. galaxyAbstractor

    galaxyAbstractor Community Advocate Community Support

    Messages:
    5,508
    Likes Received:
    35
    Trophy Points:
    48

Share This Page