杭州9期-崔文xin 发表于 2021-7-31 20:39:22

html建表作业

<!DOCTYPE html><html>        <head>                <meta charset="UTF-8">                <title>作业</title>        </head>        <body>                <form action="" method="post">                <table border="" cellspacing="0" cellpadding="" bgcolor="red">                        <tr>                                <th colspan="2" width="500px" height="50px">学生登记报名表</th>                        </tr>                        <tr>                                <td>用户名</td>                                <td align="center">                                                        <input type="text" name="" id="" value="" />                                </tr>                         <tr>                                <td>密码</td>                                <td align="center">                                                        <input type="password" name="" id="" value="" />                        </tr>                        <tr>                                <td>密码确认</td>                                <td align="center">                                                        <input type="password" name="" id="" value="" />                        </tr>                        <tr>                                <td>性别</td>                                <td>                                                        <input type="radio" name="sex" id="" value="" />男                                                        <input type="radio" name="sex" id="" value="" />女                        </tr>                        <tr>                                <td>选择科目</td>                                <td>                                                        <input type="checkbox" name="sex" id="" value="" />html                                                        <input type="checkbox" name="sex" id="" value="" />python                                                        <input type="checkbox" name="sex" id="" value="" />linux                                                        <input type="checkbox" name="sex" id="" value="" />mysql                        </tr>                        <tr>                                <td>选择学校</td>                                <td>                                                        <select name="">                                                                <option value="">选择就读学校</option>                                                                <option value="">清华大学</option>                                                                <option value="">北京大学</option>                                                        </select>                        </tr>                        <tr>                                <td>选择文件</td>                                <td>                                                <input type="file" name="" id="" value="" />                        </tr>                        <tr>                                <td colspan="2" align="center">                                        <input type="reset" name="" id="" value="重置" />                                        <input type="submit" name="" id="" value="提交" />                                </td>                        </tr>                </table>                </form>        </body></html>
页: [1]
查看完整版本: html建表作业