Home > Web Front-end > HTML Tutorial > <!doctype 出错 提示缺少对象_html/css_WEB-ITnose

<!doctype 出错 提示缺少对象_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:39:04
Original
1258 people have browsed it

一个静态页面的前四行是:

nbsp;html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">





但是这个页面IE提示页面有错误,错误信息:  "缺少对象 行:1 字符:1 代码:0 "

请问问什么会这样呢?


回复讨论(解决方案)

这个行1 应该是JS文件的行数

检查你的JS脚本有没有语法错误。

目前你这段代码没问题,我用chrome,ie9都试过了,没有任何错误,看看你的js有没有错误

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template