以下是 HTML5登录页面代码 的示例演示效果:
部分效果截图:
HTML代码(index.html):
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>HTML5</title>
<!-- demo scripts -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<br><br><br><br><br><br><br>
<!-- demo content -->
<div class="loginform cf">
<form name="login" action="index_submit" method="get" accept-charset="utf-8">
<ul>
<li><label for="usermail">Email</label>
<input type="email" name="usermail" placeholder="yourname@email.com" required>
</li>
<li><label for="password">Password</label>
<input type="password" name="password" placeholder="password" required></li>
<li><input type="submit" value="Login"> </li>
</ul>
</form>
</div>
</body>
</html>