首页 > 代码库 > HTML部分编程格式

HTML部分编程格式

<!DOCTYPE html>
<html>
<head>
<title>用户登录框</title>
<link type="text/css" rel="stylesheet" href="http://www.mamicode.com/login.css"/>
</head>
<body>
<fieldset id="f1">
<legend> 用户登录</legend>
<form action="#" method="post" id="frmLogin">
<div>
<label for="txtUserName">用户名:</label>
<input type="text" id="txtUserName"/>
</div>
<div>
<label for="txtPassword">密&nbsp;&nbsp;码:</label>
<input type="password" id="txtpassword"/>
</div>
<div>
<input type="submit" value="http://www.mamicode.com/确定" id="btnOk"/>
<input type="reset" value="http://www.mamicode.com/取消" id="btnEsc"/>
</div>
</form>
</fieldset>
<script type="text/javascript" src="http://www.mamicode.com/login.js"></script>
</body>
</html>

《p5》

HTML部分编程格式