📄 web16.html
字号:
<html>
<head>
<title>the page is very good</title>
<script language="javascript">
function a()
{
var a=document.form1.text1.value;
var b=document.form1.text2.value;
if(a=="vit"&&b=="123456")
{
alert("your information match ,go through the webpage");
}
else
{
alert("your information is not right");
}
}
</script>
<body>
<form name="form1">
please enter the name:<br/>
<input type="textbox" name="text1" ></br>
please enter the password<br/>
<input type="textbox" name="text2"></br>
<input type="button" name="button1" onclick="a()" size="30" value="check">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -