验证错误:“标签:‘meta’”没有属性:“机器人”在当前活动版本中”
在 Dreamweaver 中,根据以下内容验证 HTML 文件时;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
我收到以下错误消息;
错误 {Filename} 标签:“meta”在当前活动版本中没有属性:“robots”。行数:10
任何人都可以帮助解释为什么此行的验证检查失败:
<meta name="ROBOTS" content="INDEX, FOLLOW" />
In Dreamweaver, when validating a HTML file against the following;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
I get the following error message;
Error {Filename} The tag: "meta" doesn't have an attribute: "robots" in currently active versions. Line: 10
Can anybody help with why this is failing the validation check on this line:
<meta name="ROBOTS" content="INDEX, FOLLOW" />
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
啊,原来我错过了最后一个元标记末尾的引号;
Ah, turns out I missed the quotation mark at the end of the last meta tag;