Overcome illegal characters 时间:2014-12-12 作者:lakshmi 错误值:http://fonts.googleapis.com/css?family=Lato:100,300,regular,700,900|Open+Sans:300|Indie+Flower:regular|Oswald:300,regular,700&subset=latin,latin-ext 对于元素链接上的属性href:查询中的非法字符:不是URL代码点。如何解决上述错误以及为什么会发生此错误? 1 个回复 SO网友:Karun Url对href属性(%7C)中的|(管道字符)进行编码:<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,300,800,700,400italic%7CPT+Serif:400,400italic%7CBree+Serif"> https://stackoverflow.com/questions/22466913/google-fonts-url-break-html5-validation-on-w3-orgenter link description here 结束 文章导航