前端——简单页面设计练习2——注册表

在这里插入图片描述
验证码需要自行创建,导入img文件夹
在这里插入图片描述

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    
 <fieldset style="width: 500px; ">
    <legend>账户信息</legend>
    <form action="#" method="get">
        <table>
            <tr>
                <td><span style="color: red">*</span>
                    <label for="user">用户名:</label></td>
                <td> <input type="text" name="username" id="user"></td>
            </tr>
            <tr style="height: 10px;"></tr>

            <tr>
                <td><span style="color: red">*</span>
                    <label for="pwd">密&nbsp;&nbsp;&nbsp;码:</label> </td>
                <td><input type="password" name="pwd" id="pwd"></td>
            </tr>
            <tr style="height: 10px;"></tr>

            <tr>
                <td><span style="color: red">*</span>
                    <label for="yzm">验证码:</label> </td>
                <td> <input type="checkCode" name="Code" id="yzm">
                    <img src="img\yanzhengma.png"  alt="没有该图片" title="yanzhengma.png"></td>
            </tr>           
        </table>
        <br>
        性别: <label for="male">男</label>
              <input type="radio" name="sex" id="male" />
              <label for="female">女</label> 
              <input type="radio" name="sex" id="female" />
        <br><br>
        <input type="submit" value="提交消息">            
    </form>
 </fieldset>
            <fieldset style="width: 500px; 
                            height: 650px;
                            line-height: 30px;">
            <legend>公司信息</legend>
            <table>
                <tr>
                    <td><label for="cp">公司名称:&nbsp;&nbsp;</label></td>
                    <td><input type="text" name="companyname" id="cp"></td>
                </tr>
            </table> 
            <br>          
            公司所在地址:
                        <select name="请选择">
                            <OPtion value="0">请选择</OPtion>
                            <option value="1">中国</option>
                        </select>
                        <select name="请选择">
                            <OPtion value="0">请选择</OPtion>
                            <option value="1">广东省</option>
                            <option value="2">广西省</option>
                            <option value="3">福建省</option>
                        </select>
                        <select name="请选择">
                            <OPtion value="0">请选择</OPtion>
                            <option value="1">广州市</option>
                            <option value="2">桂林市</option>
                            <option value="3">厦门市</option>
                        </select>
            <br><br>
            购买类型用途:<input type="checkbox">通讯设备
                         <input type="checkbox">家电
                         <input type="checkbox">办公
            <br><br>           
            公司行业:<select name="" id="" multiple style="color: red;">
                <option value="">IT行业</option>
                <option value="">计算机行业</option>
                <option value="">董事长</option>          
            </select>
            <br><br>               
            公司介绍:<textarea name="" id="" cols="30" rows="10"></textarea>
            <br><br>
            营业执照上传:<input type="file" name="file" >
            <br><br> 
            <form action="#">
                <style>
                    #ip{
                        color:white;
                        background-color: red;
                        border: none;
                        height: 40px;
                        width: 260px;}
                    </style> 
                    <input  type="submit" value="立即注册" id="ip">   
            </form>           
                      
            </fieldset>       
    </body>
</html>
  • 3
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值