[英]& W3C validation
I got to improve some website. 我必须改善一些网站。 The W3C validator shows me a problem with
&
W3C验证程序向我显示
&
: :
&
did not start a character reference.&
未启动字符引用。 (&
probably should have been escaped as&
.)(
&
可能应该以&
来转义。)
What is weird, in my code I use $amp;
奇怪的是,在我的代码中我使用了
$amp;
: :
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Noto+Sans%7COpen+Sans:400,600,700%7COswald&subset=latin,latin-ext" >
I read a lot of articles, support topics, but I can't find the solution. 我阅读了很多文章,支持主题,但是找不到解决方案。 Someone knows the solution?
有人知道解决方案吗?
I put your link
in the online W3C validator as follow and it passes. 我将您的
link
放入在线W3C验证器中 ,如下所示,它通过了。 You may need to put more code for us to check it. 您可能需要输入更多代码供我们检查。
<!doctype html>
<html>
<head>
<title>test</title>
<link rel="stylesheet" href="//fonts.googleapis.comcss?family=Noto+Sans%7COpen+Sans:400,600,700%7COswald&subset=latin,latin-ext" >
</head>
<body>
</body>
</html>
And make sure your link
tag is in the header section. 并确保您的
link
标记在标题部分中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.