这是网站: http://prodontic.com/cs2/index.php?q=conscience-statements&record=8
这不会验证,但验证程序不会提供有关如何使用参数构建URL的任何指示。
这必须简单,但我似乎无法弄明白......我缺少什么?
提前感谢。
答案 0 :(得分:3)
只需使用&
替换HTML中的&
。
例如,替换
<a href='index.php?q=conscience-statements&record=7'>«</a>
与
<a href='index.php?q=conscience-statements&record=7'>«</a>
答案 1 :(得分:1)
你说:but the validator does not give any indication about how to build URLs with parameters
这很奇怪,W3C的错误描述(反复)明确指出:
& probably should have been escaped as &
另外,请看一下关于SO的答案:https://stackoverflow.com/a/3493425/588079
希望有所帮助!