这些代码有问题吗?为什么显示不了呢

来源:百度知道 编辑:UC知道 时间:2024/09/23 08:29:23
<html>

<head>
<meta http-equiv="refresh" content="0.1;URL=main.asp">
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
<meta name="Description" content="西安外语培训,西安外语,西安中科外语培训,西安中科外语培训,西安中科外语培训">
<meta name="keywords" content="西安外语培训,西安外语,西安中科外语培训,西安中科外语培训,西安中科外语培训">
<meta name="author" content="西安外语培训,西安外语,西安中科外语培训,西安中科外语培训,西安中科外语培训">
<title>中国科学院西安分院外语培训</title>
<SCRIPT LANGUAGE="javascript">
<!--
window.open ('gg.htm', 'newwindow', 'height=365, width=335, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')
-->
</SCRIPT>

</head>
<body>
</body>

</html>

我不知道你想显示什么,不过这段代码有这些地方你需要注意:

1、<meta http-equiv="refresh" content="0.1;URL=main.asp">
这段代码让当前页面迅速跳转到 main.asp 页面去,当前页面不再显示。

2、window.open ('gg.htm', 'newwindow', 'height=365, width=335, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no')
这个教本崩出对话框,显示gg.htm页面,如果有网页助手拦截自动弹出的对话框的话,是不能被显示的。

3、<body></body>
当前网页的正文本来就是空的,所以没有什么可以显示的。

以上是这个页面上的全部元素,你的问题答案就应该在这其中,希望对你有帮助。