87,907
社区成员
发帖
与我相关
我的任务
分享
<!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">
<head>
<title> new document </title>
<meta name="generator" content="editplus" />
<meta name="author" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
</head>
<body>
<script type="text/javascript">
<!--
document.write("document.body.tagName: ",
document.body.tagName, "<br />");
document.write("document.documentElement.firstChild.nextSibling.tagName: ",
document.documentElement.firstChild.nextSibling.tagName, "<br />");
document.write("document.documentElement.firstChild.nextSibling === document.body: ",
document.documentElement.firstChild.nextSibling === document.body, "<br />");
document.write("document.documentElement.firstChild.nextSibling.outerHTML == document.body.outerHTML: ",
document.documentElement.firstChild.nextSibling.outerHTML == document.body.outerHTML, "<br />");
document.write("<hr />");
document.write("document.documentElement.tagName: ",
document.documentElement.tagName, "<br />");
document.write("document.body.parentNode.tagName: ",
document.body.parentNode.tagName, "<br />");
document.write("document.body.parentNode === document.documentElement: ",
document.body.parentNode === document.documentElement, "<br />");
document.write("document.body.parentNode.outerHTML == document.documentElement.outerHTML: ",
document.body.parentNode.outerHTML == document.documentElement.outerHTML, "<br />");
//-->
</script>
</body>
</html>