zoukankan      html  css  js  c++  java
  • html5-表单的综合实例

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>表单的综合实例</title>
        <style type="text/css">
            body{background:url(pic/1.png);}
            form{ 400px;background: #f0f0f0;padding: 10px;margin-top: 250px;margin-left: 600px;}
            button{background: #808080;padding: 8px;border-radius: 5px;}
            input{padding: 8px;background: #f8f8f8;}
            input:focus{background: #ffc0cb}
            button:hover{background: #ffc0cb;padding: 10px;}
        </style>
    </head>
    <body>
        <form action="">
        <fieldset>
        <legend>用户注册</legend>
        <label for="user">用户</label><input type="text" name="user" id="user" placeholder="用户名" required=""><br>
        <label for="password">密码</label><input type="password" name="password" id="password" placeholder="密码"><br>
        <label for="tel">电话</label><input type="tel" name="tel"  id="tel" placeholder="电话"><br>
        <label for="email">邮箱</label><input type="email" name="email" id="email" placeholder="电子邮箱"><br>
        <!-- <input type="submit" value="注册"> -->
        <button>注册</button>
        </fieldset>    
        </form>
    </body>
    </html>

    天道酬勤,厚积薄发。 君子之行,静以修身,俭以养德。 非淡泊无以明志,非宁静无以致远。 如有恒,何须三更起,半夜眠;最怕莫,三天打鱼两天晒网,竹篮打水一场空。
  • 相关阅读:
    POJ 1905 Expanding Rods 木棍膨胀
    [JSOI2007] 文本生成器
    18.09.22模拟赛T2 历史
    [USACO18OPEN] Talent Show
    [国家集训队] 整数的lqp拆分
    [HNOI2008] GT考试
    读入优化效果测试
    Trie图 模板
    manacher算法 详解+模板
    [洛谷P4299] 首都
  • 原文地址:https://www.cnblogs.com/houweidong/p/7532469.html
Copyright © 2011-2022 走看看