主题:[原创]为什么IE6.0不能显示下面的代码
代码是:
<html>
<head>
<title>数据类型练习</title>
</head>
<body>
<PRE>
<script language="javascript">
<!--
var name="zhang xin min";
var married=true;
var age=31;
var salsry=123.87;
var addres;
document.writeln("<h3>"the worker:"+name+"information"</h3>");
document.writeln("the name "+name+"used the data of"+typeof(name));
document.writeln("ismarried:"+married+",use the data of"+typeof(married));
document.writeln("the age:"+age+",used the data of"+typeof(age));
document.writeln("the addres:"+addres+"used the data of "+typeof(addres));
-->
</script>
</PRE>
</body>
</html>
<html>
<head>
<title>数据类型练习</title>
</head>
<body>
<PRE>
<script language="javascript">
<!--
var name="zhang xin min";
var married=true;
var age=31;
var salsry=123.87;
var addres;
document.writeln("<h3>"the worker:"+name+"information"</h3>");
document.writeln("the name "+name+"used the data of"+typeof(name));
document.writeln("ismarried:"+married+",use the data of"+typeof(married));
document.writeln("the age:"+age+",used the data of"+typeof(age));
document.writeln("the addres:"+addres+"used the data of "+typeof(addres));
-->
</script>
</PRE>
</body>
</html>