Why is the validator complaining about the URLs I’ve used in my links?
There are several possible reasons, but the most common explanation has to do with the fact that complex URLs tend to contain XML reserved characters, such as ampersands (&). Since these characters have special meaning within XML documents, their appearance in a URL could potentially confuse a program trying to work with that document. As such, it’s necessary to treat these characters differently within URLs. Note, however, that encoding the reserved characters within URLs using character entity references (such as &) will not work. Instead, reserved characters within a URL need to be encoded as a percent sign (%) followed by two hexadecimal digits. For instance, within a URL an ampersand (&) should be encoded as %26, rather than as & The ampersand is by far the most common source of validator issues in URLs. However, if you suspect that other characters are causing you problems, you can find more information and a list of character encodings in the HTML URL Encoding Reference.
Related Questions
- Talking about capacity, I’ve heard the terms STATIC, ROLLOVER and DYNAMIC being used. Which rating should influence my Dock Leveler selection?
- I’ve heard the word sustainability used a lot in telemedicine discussions; what does it mean?
- What if I’ve forgotten the email address I originally used to register?