?? login.htm
字號(hào):
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>登錄</title>
<Script language="javaScript">
<!--
function checkSubmit()
{
if(document.loginPage.uname.value=="")
{
windows.alert("請(qǐng)輸入您的登錄ID");
document.loginPage.uname.select();
document.loginPage.uname.focus();
return false;
}
if(document.loginPage.password.value=="")
{
windows.alert("請(qǐng)輸入您的密碼");
document.loginPage.uname.select();
document.loginPage.uname.focus();
return false;
}
else return true;
}
-->
</head>
<body>
<form method="post" action="login.php" name="loginPage" onsubmit="javascript:return checkSubmit()">
<table width="100" border="0" cellspacing="0" cellpadding="0" class="css1">
<tr>
<td>用戶名</td>
<td>
<input type="text" name="uname" size="12" maxlength="12"
onMouseOver='javascript:this.focus()' onFocus='javascript:this.select()'>
</td>
</tr>
<tr>
<td>密碼 </td>
<td>
<input type="password" name="password" size="12" maxlength="12"
onMouseOver='javascript:this.focus()' onFocus='javascript:this.select()'>
</td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="登錄" ></td>
<td><a href="register.htm">我是新用戶</a></td>
</tr>
</table>
</form>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -