📄 6-2.htm
字号:
<html>
<head>
<title>§6.2 密码保护网页(二)</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language="JavaScript">
<!--//Begin code
function check(){
var link=document.input.password.value + ".htm";
this.location.href = link;
}
//End code
-->
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000">
<form name="input">
<table width="290">
<tr>
<td>请输入密码(密码是6-2-1):
<p>
<input type="password" size="16" name="password" maxlength="25">
</p>
<p>
<input type="button" value="确定" onclick="check()" name="Submit">
输入密码后请点击“确定”按钮
</td>
</tr>
</table>
<table width="196">
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -