[英]Getting “Stray end tag html” from W3C Validator
I'm checking my (HTML5) site using W3C's validator and getting the following error: 我正在使用W3C的验证器检查我的(HTML5)网站,并收到以下错误:
Stray end tag html.
<html lang="en-US">
And the error sign is on the closing ">" there. 错误符号在结束符“>”处。 What is wrong with that line? 那条线怎么了? It seems to be exactly right. 这似乎是完全正确的。
this is the minimum html that validates as html5 (except for the lang="en-US"
) 这是可验证为html5的最小html( lang="en-US"
除外)
<!DOCTYPE html>
<html lang="en-US">
<head>
<title></title>
</head>
<body>
</body>
</html>
You should have at least this structure 您至少应具有此结构
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.