⼀个简单的HTML⽹页        ⼀个简单的HTML⽹页,这是朋友写的,⾥⾯没有什么内容的,和⼤家分享⼀下,不喜勿喷。先看下效果图
这⾥的登录和注册都是没有实际功能的,只是⼀个样式
下⾯来看看代码
登录
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录</title>
<link rel="stylesheet" type="text/css" href="./css/index.css">
</head>
<body >
<div class="logo center">
<a href="./index.html" target="_blank"><img src="./image/mistore_logo.png" alt=""></a>
</div>
</div>
<form  action="index.html" class="form center" >
<div class="login">
<div class="login_center">
<div class="login_top">
<div class="left fl">登录</div>
<div class="clear"></div>
<div class="xian center"></div>
</div>
<div class="login_main center">
<div class="username">⽤户名: <input class="shurukuang" type="text" name="username" placeholder="请输⼊你的⽤户名"/></div>
<div class="username">密    ;码: <input class="shurukuang" type="password" name="password" placeholder="请输⼊你的密码"/    </div>
<div class="login_submit">
<input class="submit" type="submit" name="submit" value="⽴即登录" >
</div>
</div>
</div>
</form>
</body>
</html>
注册
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<link type="text/css" rel="stylesheet" href="./css/index.css" />
</head>
<body class="zc-body"> <div id = "zc-a1">
<div class = "zc-b">
<div>注册</div>
</div>
<div class = "zc-c">
<form action="login.html" method="">
<table class="zc-table">
<tr>
<td align= "center">⽤户名</td>
<td class="zc-c"><input placeholder="请输⼊名字"></td>
<td class = "zc-td3">请不要输⼊汉字</td>
</tr>
<tr>
<td align= "center">密码</td>
<td><input type = "password" placeholder = "请输⼊密码"></td>
<td class = "zc-td3">请输⼊6位以上的字符</td>
</tr>
<tr>
<td align= "center">确认密码</td>
<td><input type = "password" placeholder = "请输⼊密码"></td>
<td class = "zc-td3">两次密码要输⼊⼀致哦</td>
</tr>
<tr>
<td align= "center">⼿机号</td>
<td><input type="number" placeholder = "请填写正确的⼿机号" maxlength ="11"></td>
<td class = "zc-td3">请填下⼿机号吧,⽅便我们练习</td>
</tr>
<tr>
<td align= "center">验证码</td>
<td><input placeholder = "请输⼊验证码"></td>
<td><img src="img/yanzhengma.jpg"></td>
</tr>
<tr>
<td colspan="3" align = "center"><input id = "zc-end" type="submit" value = "⽴即注册"></td>
</tr>
</table>
</form>
</div>
</div>
</body>
</html>
⾸页
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>⾸页</title>
<link type="text/css" rel="stylesheet" href="css/index.css" />
网页float是什么意思</head>
<body >
<div >

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。