• 企业400电话
  • 微网小程序
  • AI电话机器人
  • 电商代运营
  • 全 部 栏 目

    企业400电话 网络优化推广 AI电话机器人 呼叫中心 网站建设 商标✡知产 微网小程序 电商运营 彩铃•短信 增值拓展业务
    HTML用户注册页面设置源码


     

    设计上图中的网页:

    <!DOCTYPE html>
    <html lang="en">
    
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Document</title>
    
        <style>
    
                form{
                    width: 800px;
                    height: 700px;
                    border: 1px solid red;
                    margin: auto;
                    background: url(images/tree.jpg) no-repeat -40px 300px;
                }
    
                form h3{
                    margin-left: 200px;
                }
    
                p{
                    margin-left: 200px;
                }
    
                hr{
                    margin-left: 200px;
                }
    
                 .a1{
                     margin-left: 85px;
                 }
    
                 .a2{
                    margin-left: 110px;
                }
    
    
                input,
                textarea
                {
                background: url(images/attention.png) no-repeat right;
                }
    
                button{
                    margin-left: 200px;
                    background: rgb(81, 187, 125);
                    color: white;
                }
    
                span#as:hover input{
                    width: 300px;
                    height: 40px;
                }
    
               
        </style>
    
    </head>
    
    <body>
            
    
            <form action="">
                <h3>用户注册:</h3>
    
                <hr>
                
                <p>用户昵称:<span class="a1" id="as"><input type="text" required placeholder autofocus></span> <hr></p>
    
                <p>注册邮箱:<span class="a1" id="as"><input type="email" required placeholder="javin@example.com"></span><hr></p>
    
                <p>密码: <span class="a2" id="as"><input type="password" required placeholder></span><hr></p>
    
                <p>性别:<span class="a2">男<input type="radio" name="1" checked>
                    女 <input type="radio" name="1"> </span><hr>
                 </p>
    
                 <p>年龄:<span class="a2" id="as"><input type="number" name="number1" required placeholder></span><hr></p>
    
                 <p>兴趣爱好:<span class="a1">
                    足球<input type="checkbox" name="1">
                    篮球<input type="checkbox" name="1">
                    游泳<input type="checkbox" name="1">
                    唱歌<input type="checkbox" name="1">
                    跑步<input type="checkbox" name="1">
                    瑜伽<input type="checkbox" name="1">
                 </span><hr></p>
    
                <p>自我介绍: <span class="a1"><textarea name="abcde" cols="30" rows="10" required placeholder>Please enter your message</textarea></span><hr> </p>
    
                <button type=submit>立即注册</button>
    
                 
                <div></div>
    
    
    
            </form>
    
    </body>
    
    </html>

    到此这篇关于HTML用户注册页面设置源码的文章就介绍到这了,更多相关html用户注册页面内容请搜索脚本之家以前的文章或继续浏览下面的相关文章,希望大家以后多多支持脚本之家!

    上一篇:详解HTML元素的height、offsetHeight、clientHeight、scrollTop等梳理
    下一篇:当div设置contentEditable=true时,重置其内容后无法光标定位
  • 相关文章
  • 

    © 2016-2020 巨人网络通讯

    时间:9:00-21:00 (节假日不休)

    地址:江苏信息产业基地11号楼四层

    《增值电信业务经营许可证》 苏B2-20120278

    HTML用户注册页面设置源码 HTML,用户注册,页面,设置,