当前位置:首页 » 《随便一记》 » 正文

HTML用户注册页面设置源码

5 人参与  2020年11月30日 00:00  分类 : 《随便一记》  评论

点击全文阅读


 

这篇文章主要介绍了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=">

            <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用户注册页面内容请搜索脚本之家以前的文章或继续浏览下面的相关文章,希望大家以后多多支持脚本之家!

来源:脚本之家

链接:https://www.jb51.net/web/748567.html

申请创业报道,分享创业好点子。,共同探讨创业新机遇!


点击全文阅读


本文链接:http://www.zhangshiyu.com/post/3298.html

<< 上一篇 下一篇 >>

  • 评论(0)
  • 赞助本站

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

最新文章

  • 闻妻有两意(林鹿小柿子)_闻妻有两意
  • 我的死党是刘秀?这皇位我不篡了(李哲王莽)全书免费_(李哲王莽)我的死党是刘秀?这皇位我不篡了后续(李哲王莽)
  • 逃荒路末世女王带着空间养儿女(周铁山王寡妇阿蛮)_逃荒路末世女王带着空间养儿女(周铁山王寡妇阿蛮)
  • 霍远凡肖灿续集(霍远凡肖灿)章节前文+全书阅读(丈夫逼我流产,我以死谢罪)最新连载
  • 老公给我13.14亲密付,我堕胎再婚后他悔疯了每日分享_苏暖顾川林晚晚超长版_小说后续在线阅读_无删减免费完结_
  • (白瑶,李玄胤,冰冷)白瑶,李玄胤,冰冷小说(九尾渡红尘)无套路无弹窗全部章节列表
  • (此去经年无故人)南初陆南城:结局+番外精品选集起点章节+阅读即将发布预订
  • 沈凝夏叶晚怡附加完整在线阅读(归雁不栖故人枝)最近更新列表
  • 剧情人物是时初,白浩雄的玄幻言情小说《召诸神,踏万界,天命帝女逆乾坤》,由网络作家&ldquo;海鸥&rdquo;所著,情节扣人心弦,本站TXT全本,欢迎阅读!本书共计381345字,185章节,:结局+番外免费品鉴:结局+番外评价五颗星
  • 凤青禾,江明远,***枢小说(别人修仙我捡漏,卷王们破防了)最近更新(凤青禾,江明远,***枢)整本无套路阅读
  • 薛梨小说无删减+后续(曾经亲情似草芥)畅享阅读
  • 沈南栀小说(穿越时空,我要修补时空裂缝)章节目录+起点章节(沈南栀)全篇清爽版在线

    关于我们 | 我要投稿 | 免责申明

    Copyright © 2020-2022 ZhangShiYu.com Rights Reserved.豫ICP备2022013469号-1