你能帮我验证我的网站吗? [英] Can you help with validation of my site

查看:57
本文介绍了你能帮我验证我的网站吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我验证网站时遇到的第一个错误是:


错误第10行第46列:文档类型不允许元素META这里。


< meta name =" revisit-after" content =" 30天  />

The first error I get when I validate my site is:

Error Line 10 column 46: document type does not allow element "META" here.

<meta name="revisit-after" content="30 days" />

推荐答案

你应该验证您的代码。 此处是一篇关于使用META标签的文章。你应该做的第一件事是将你的doctype切换到严格:


[html]<!DOCTYPE html PUBLIC" - // W3C // DTD XHTML 1.0 Strict // EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> [/ html]
You should validate your code. Here is an article about using META tags. First thing you should do is switch your doctype to strict:

[html]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">[/html]


为什么严格

i在我的所有网站上使用过渡


你可以解释一下
why strict

i use transitional on all of my sites

can you please explain


你没有从任何过渡,过渡是允许您使用已弃用的标签。
You aren''t transitioning from anything, transitional is to allow you to use deprecated tags.


这篇关于你能帮我验证我的网站吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆