这是网站: http ://prodontic.com/cs2/index.php?q=conscience-statements&record=8
这不会验证,但验证器没有给出任何关于如何使用参数构建 URL 的指示。
这必须很简单,但我似乎无法弄清楚......我错过了什么?
提前致谢。
这是网站: http ://prodontic.com/cs2/index.php?q=conscience-statements&record=8
这不会验证,但验证器没有给出任何关于如何使用参数构建 URL 的指示。
这必须很简单,但我似乎无法弄清楚......我错过了什么?
提前致谢。
只需将&
HTML 中的 URL替换为&
.
因此,例如,替换
<a href='index.php?q=conscience-statements&record=7'>«</a>
和
<a href='index.php?q=conscience-statements&record=7'>«</a>
你说:but the validator does not give any indication about how to build URLs with parameters
这很奇怪,W3C 的错误描述(反复)清楚地指出:
& probably should have been escaped as &
另外,看看这个答案:https ://stackoverflow.com/a/3493425/588079
希望有帮助!