HTML解析错误

前端之家收集整理的这篇文章主要介绍了HTML解析错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我无法找出问题所在,以及为什么我一直在Internet Explorer 8中收到此错误,因为这是我收到的唯一错误.有什么想法,或简单的解决方案吗?我没有注意到我的代码有任何问题,这只是让我烦恼的消息.

网页错误详情.

User Agent: Mozilla/4.0 (compatible;
MSIE 8.0; Windows NT 5.1; Trident/4.0;
.NET CLR 2.0.50727; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729) Timestamp: Mon,7 Sep 2009 19:11:13
UTC

Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0

解决方法

答案就在错误中 – KB927917说:

This problem occurs because a child
container HTML element contains script
that tries to modify the parent
container element of the child
container. The script tries to modify
the parent container element by using
either the innerHTML method or the
appendChild method.

For example,this problem may occur if a DIV element is a child container in a BODY element,and a SCRIPT block in the DIV element tries to modify the BODY element that is a parent container for the DIV element.

猜你在找的HTML相关文章