firebug在doctype中返回语法错误? [英] firebug returns syntax error in doctype?
本文介绍了firebug在doctype中返回语法错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为什么Firebug会在我的文档类型中返回错误?
Why does Firebug return an error in my doctype?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
错误
error
syntax error
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
源代码
source code
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
.....
推荐答案
发生是因为您正在将HTML文档作为脚本加载。这通常是由< script src =>< / script>
(即指向当前HTML文档的相对URI)或者指向404错误的脚本。
This usually happens because you are loading an HTML document as a script. This is often caused by <script src=""></script>
(i.e. a relative URI pointing at the current, HTML, document)) or one of the scripts pointing to a 404 error.
这篇关于firebug在doctype中返回语法错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文