html简单编写一个注册界面

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8">
    <title></title>
    <style>

        body { background-image: linear-gradient(110deg, #f9bde8, #f670d0);}
        .header 
        {
            font-size: 60px;
            font-weight: 900;
            text-align: center;
            line-height: 120px;
        }
    </style>
</head>

<body>
    <table border="1" width="700" height="400" align="center" background-color="#FF6699">
        <tr>
            <td bgcolor="#fbf1f1">
                <div class="header">Register</div>
                <form action="" align="center">
                    username:<input type="text" placeholder="Please input your usename" style="width: 400px;height: 30px;"><br><br>password :
                    <input type="password" placeholder="Please input your password" style="width: 400px;height: 30px;"><br><br> repeat :
                    <input type="password" placeholder="repeat your password" style="width: 400px;height: 30px;"><br><br> email  :
                    <input type="text" placeholder="Please input your email" style="width: 400px;height: 30px;"><br><br> gender :
                    <input type="radio"> man <input type="radio">woman
                    </select><br><br> habits&nbsp;&nbsp;&nbsp;love:<label for="awards"></label><textarea id="awards" cols="1" rows="3" style="width: 400px;height: 100px;">action\music\lover\</textarea><br><br>
                    <hr><br>
                    <input type="button" value="register" / style="width: 100px;height: 25px;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                    <input type="reset" value="reset" / style="width: 100px;height: 25px;">
                </form>
            </td>
        </tr>
    </table>
</body>
</html>

运行结果:

 

  • 1
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值