zoukankan      html  css  js  c++  java
  • Java-Web 用html写一个简单的用户注册界面

    代码:

    <!doctype htpl>
    <html>
        <head>
            <meta charset="utf-8" />
            <title>注册用户</title>
        </head>
        
        <body>
            <table border="1px" cellpadding="10px" cellspacing="0px"
                    style=" 30%;margin:auto;background:rgb(195,195,195)" 
                    bordercolor="red" >
                <caption>注册用户</caption>
                <form action="#" method="get">
                
                    <tr>
                        <th>用户名:</th>
                        <td><input type="text" name="username"></th>
                    </tr>
                    <tr>
                        <th>密码:</th>
                        <td><input type="password" name="password"></td>
                    </tr>
                    <tr>
                        <th>确认密码:</th>
                        <td><input type="password" name="password"></td>
                    </tr>
                    <tr>
                        <th>昵称:</th>
                        <td><input type="text" name="username"></td>
                    </tr>
                    <tr>
                        <th>邮箱:</th>
                        <td><input type="text" name="username"></td>
                    </tr>
                    <tr>
                        <th>性别:</th>
                        <td>
                            <input type="radio" name="gender" value="man" checked="checked">&nbsp;&nbsp;
                            <input type="radio" name="gender" value="woman"></td>
                    </tr>
                    <tr>
                        <th>爱好:</th>
                        <td>
                            <input type="checkbox" name="hobby" value="lq" checked="checked">篮球 &nbsp;&nbsp;
                            <input type="checkbox" name="hobby" value="zq">足球&nbsp;&nbsp;
                            <input type="checkbox" name="hobby" value="pq">排球
                        </td>
                    </tr>
                    <tr>
                        <th>城市:</th>
                        <td>
                            <select>
                                <option value="shanghai">上海
                                <option value="beijing">北京
                                <option value="shenzhen">深圳
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>头像:</th>
                        <td><input type="file" name="img"></td>
                    </tr>
                    <tr>
                        <th>验证码:</th>
                        <td><input type="text" name="code" id="code"/>
                            <img  id="sCodeImg"  src="xcoj4rsp.bmp" 
                            onclick="return clk_image();" width="65" height="25">
                            <input type="button" value="换一个">
                        </td>
                    </tr>
                    <tr>
                        <th>个人简历:</th>
                        <td><textarea name="profile" rows="3" cols="30">请输入描述信息!</textarea></td>
                    </tr>
                    <tr>
                        <th colspan="2">
                            <input type="submit" value="提交">&nbsp;&nbsp;&nbsp;&nbsp;
                            <input type="reset" value="重置">
                        </th>
                    </tr>
                </form>
            </table>
        </body>
    </html>
  • 相关阅读:
    随想 20180517
    随想 20180516
    随想 20180514
    alpinelinux
    装系统时总是提示 保存分区表时出现错误(0000000001)函数不正确
    kindeditor在Firefoxt 和 Chrome 下不能取到值的解决方法
    浏览器兼容
    php生成随机密码的几种方法
    按钮效果
    linux下修改/dev/shm tmpfs文件系统大小
  • 原文地址:https://www.cnblogs.com/chuijingjing/p/9580366.html
Copyright © 2011-2022 走看看