为什么这个文件双击之后显示空白
<html>
<head>
<title>加入验证的注册页面</tilte>
</head>
<script language="javascript">
function check(){
if (form1.pass.value!=form1.confirm.value)
{alert("Password wrong");
form1.pass.focus();
return false;}
if (form1.name.value=="")
{alert("No Name");
form1.name.focus();
return false;}
if(form1.email.value=="")
{alert("No email");
form1.email.focus();
return false;}
if (form1.pass.value.length<6)
{alert("Password too short");
form1.pass.focus();
return false;}
if ((form1.email.value.indexOf('@',0)==-1)||(form1.email.value.indexOf('.',0)==-1))
{alert("email wrong");
form1.email.focus();
return false;}
return true;
}
</script>
<body>
<form name="form1" onSubmit="return check()">
<p>注册信息:</p>
<p>姓名:<input type="text" name="name" size="20"></p>
<p>性别:<input type="radio" name="sex" value="男" checked >男
<input type="radio" name="sex" value="女">女</p>
<p>职业:<select size="1" name="work">
<option>教师</option>
<option>学生</option>
<option selected>职员</option>
</select></p>
<p>邮箱地址:<input type="text" name="email"><p>
<p>爱好:
<input type="checkbox" name="CC" value="旅游">旅游
<input type="checkbox" name="CC" value="看书" checked>看书
<input type="checkbox" name="CC" value="游戏">游戏
<input type="checkbox" name="CC" value="扑克">扑克
<input type="checkbox" name="CC" value="保龄">保龄
<input type="checkbox" name="CC" value="网球">网球</p>
<p>密码: <input type="password" name="pass" size="20"></p>
<p>确认密码:<input type="password" name="confirm" size="20"></p>
<p>自我描述:</p>
<p><textarea name="des" rows="5"cols="20"></textarea></p>
<p><input type="submit" value="提交"></p>
</form>
</body>
</html>
------解决方案--------------------
<title>加入验证的注册页面</tilte>
最后面那个拼写错了应该是title不是tilte。。。