2023-1-31练习

使用HTML+CSS编写代码,完成图片 表单1和表单2的样式

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>个人账户注册</title>
</head>
<body>
    <div style="height: 100px;">
        <img src="1688.png" alt="" width="200"  style="position: absolute ;
        border-right: 1px solid;" > 
       <h3 style="position: absolute; top: 40px; left: 220px;" >用户注册</h3>
    </div>
    <div style="height: 30px;"></div>
    <div style="height: 20px;text-align: center ;" >
        <a href="D:\Java Web\homework\day01\task2.html" style="margin: top 50px;">企业账户注册</a>
        &nbsp;&nbsp;<font style="color: red;">个人账户注册</font>
    </div>
    <hr>
    <p style="text-align: center;margin-top: 0;">无企业营业执照的个人用户请注册个人账户。权益如下:做个人实名认证:作为买家身份采购:</p>
    <br>
    <form action="" method="post" style="text-align: center;">
        &nbsp;&nbsp;&nbsp;<span style="color: red;">*</span>会员名:
        <input type="text" id="username" style="width: 200px;">
        <br>
        <br>
        <span style="color: red;">*</span>登录密码:<input type="password" style="width: 200px;">
        <br>
        <br>
        <span style="color: red;">*</span>重复密码:<input type="password" style="width: 200px;">
        <br>
        <br>
        <span style="color: red;">*</span>电话号码:
        <select style="width: 50px;margin: 0;padding: 0;" >
            <option value="中国大陆">中国大陆 +86</option>
        </select>
        <input type="text" maxlength="11" style="margin: 0; padding: 0; width: 150px;">
        <br>
        <br>
        <input type="radio" ><font>创建网站账号的同时,我同意遵守:<br>
        《阿里巴巴服务条款》及《隐私声明》
        </font>
        <br>
        <br>
        <input type="submit" value="同意并注册" style="background-color: orangered;
        color: white;
        ">
   </form>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>企业账户注册</title>
</head>
<body>
    <div style="height: 100px;">
        <img src="1688-1.png" alt="" width="200"  style="position: absolute ;
        border-right: 1px solid;" > 
       <h3 style="position: absolute; top: 40px; left: 220px;" >用户注册</h3>
    </div>
    <div style="height: 30px;"></div>
    <div style="height: 20px;text-align: center ;" >
       <font style="color: red;">企业账户注册</font>
        &nbsp;&nbsp;<a href="D:\Java Web\homework\day01\task1.html">个人账户注册</a>
    </div>
    <hr>
    <p style="text-align: center;margin-top: 0;">有企业营业执照(含个体工商户)的用户应注册。权益如下:做企业实名认证:作为卖家身份开店:作为买家身份采购。</p>
    <br>
    <form action="" method="post" style="text-align: center;">
        &nbsp;&nbsp;&nbsp;<span style="color: red;">*</span>会员名:
        <input type="text" id="username" style="width: 200px;">
        <br>
        <br>
        <span style="color: red;">*</span>登录密码:<input type="password" style="width: 200px;">
        <br>
        <br>
        <span style="color: red;">*</span>重复密码:<input type="password" style="width: 200px;">
        <br>
        <br>
        <span style="color: red;">*</span>联系人姓名:<input type="text" style="width: 200px;">
        <br>
        <br>
        <span style="color: red;">*</span>企业名称:<input type="text" style="width: 200px;">
        <br>
        <br>
        <span style="color: red;">*</span>贸易身份:
        <input type="radio"   name="身份" style="border: 1 solid;">我要销售
        <input type="radio"   name="身份">我要采购
        <input type="radio"   name="身份">两者都是
        <br>
        <br>
        <span style="color: red;">*</span>电话号码:
        <select style="width: 50px;margin: 0;padding: 0;" >
            <option value="中国大陆">中国大陆 +86</option>
        </select>
        <input type="text" maxlength="11" style="margin: 0; padding: 0; width: 150px;">
        <br>
        <br>
        <input type="radio" ><font>创建网站账号的同时,我同意遵守:<br>
        《阿里巴巴服务条款》及《隐私声明》
        </font>
        <br>
        <br>
        <input type="submit" value="同意并注册" style="background-color: orangered;
        color: white;
        ">
   </form>
</body>
</html>

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值