HTML作业

作业

复现下面的图片

复现结果

代码

复制代码
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
    </head>
    <body>
        <form action="#"
                method="get"
                enctype="text/plain">
        <Table border="1">
            <header >
                <td  bgcolor="#cccccc"colspan="2" align="center">用户注册</td>
            </header>
            <tr>
                <td bgcolor="#e6e6e6" align="right">用户名</td>
                    <td bgcolor="#e6e6e6">
                        <input type="edit" name="用户名" id="" value="" /> 
                </td>
            <tr>
                <td bgcolor="#e6e6e6"  align="right">密码</td>
                    <td bgcolor="#e6e6e6">

                        <input type="password" name="密码" id="">                        
                </td>
            </tr>
            <tr>
                <td  bgcolor="#e6e6e6" align="right">性别</td><br />
                    <td bgcolor="#e6e6e6">
                            <input type="radio" name="性别" value="man" />男
                            <input type="radio" name="性别" value="men">女
                </td>
            </tr>
            <tr>
                <td  bgcolor="#e6e6e6" align="right">爱好</td>
                <td bgcolor="#e6e6e6">
                <input type="checkbox" name="爱好" value="写作" checked/>写作
                <input type="checkbox" name="爱好" value="听音乐" checked/>听音乐
                <input type="checkbox" name="爱好" value="体育" checked/>体育 
                </td>
            <tr>
                    <td  bgcolor="#e6e6e6" align="right">省份</td><br />
                    <td bgcolor="#e6e6e6">
                        <select name="province" >
                                          <option >陕西</option>
                                          <option >广西</option>
                                          <option >山西</option>
                        </select>
                    </td>
            <tr>
                    <td  bgcolor="#e6e6e6" align="right">自我介绍</td><br />
                        <td bgcolor="#e6e6e6">
                          <textarea name="" id="" cols="30" rows="5"></textarea>
                    </td>
            <tr>
                <td colspan="2" align="center">
                                        <input type="submit" name="" id=""> <input type="reset" /><br />    
                </td>
            </tr>
            </tr>
            </tr>
            </tr>    
            </tr>
            <tr>
            </tr>
            </Table>
        </form>
    </body>
</html>
相关推荐
遇到困难睡大觉哈哈8 小时前
Harmony os 静态卡片(ArkTS + FormLink)详细介绍
前端·microsoft·harmonyos·鸿蒙
用户47949283569158 小时前
Bun 卖身 Anthropic!尤雨溪神吐槽:OpenAI 你需要工具链吗?
前端·openai·bun
p***43488 小时前
前端在移动端中的网络请求优化
前端
g***B7388 小时前
前端在移动端中的Ionic
前端
拿破轮9 小时前
使用通义灵码解决复杂正则表达式替换字符串的问题.
java·服务器·前端
whltaoin9 小时前
【 Web认证 】Cookie、Session 与 JWT Token:Web 认证机制的原理、实现与对比
前端·web·jwt·cookie·session·认证机制
Aerelin9 小时前
爬虫playwright入门讲解
前端·javascript·html·playwright
5***o50010 小时前
前端在移动端中的NativeBase
前端
灵魂学者10 小时前
Vue3.x —— 父子通信
前端·javascript·vue.js·github
1***Q78410 小时前
前端跨域解决方案
前端