分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 运营维护

html5-表单的综合实例

发布时间:2023-09-06 01:11责任编辑:董明明关键词:暂无标签

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单的综合实例</title>
    <style type="text/css">
        body{background:url(pic/1.png);}
        form{width: 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>

html5-表单的综合实例

原文地址:http://www.cnblogs.com/houweidong/p/7532469.html

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved