【html_test】绝地求生

1
2


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表格</title>
    <style>
        .f{
            width:300px;
            height:600px;
            border:cadetblue 2px;

        }
    </style>
</head>
<body>
<form action="./bd.php" method="POST" enctype="multipart/form-data" >
    <!-- cellspacing="0px" 边框与边框距离 -->
    <table border="1px" align="center" width="auto" height="50px" cellspacing="0px" cellpadding="0px">
        <tr>
            <th>
                用户:
            </th>
            <td>
                <input type="text" name="name" placeholder="请输入用户名">
            </td>
        </tr>
        <tr>
            <th>
                密码:
            </th>
            <td>
                <input type="password" name="password"  >
            </td>
        </tr>
        <tr>
            <th>
                性别:
            </th>
            <td>
                <input type="radio" name="xingbie"  value="nv"><input type="radio" name="xingbie"  value="nan" checked></td>
        </tr>
        <tr>
            <th>
                兴趣爱好:
            </th>
            <td>
                <input type="checkbox" name="robbie"  value="lq" checked>篮球
                <input type="checkbox" name="robbie"  value="zuqiu" checked>足球
                <input type="checkbox" name="robbie"  value="paiqiu">排球
                <input type="checkbox" name="robbie"  value="pingpang">乒乓球
            </td>
        </tr>
        <tr>
            <th>
                城市:
            </th>
            <td>
                <select name="table">
                    <option value="tj">天津</option>
                    <option  value="sh">上海</option>
                    <option  value="bj">北京</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>
                个人介绍:
            </th>
            <td>
               <textarea name="text">helloword</textarea>
            </td>
        </tr>
        <tr>
            <th>
               头像:
            </th>
            <td>
               <input type="file" name="touxiang" />
            </td>
        </tr>
        <tr>
         
            <td colspan="2" align="center">
              <input type="submit" value="提交">
            </td>
        </tr>
    </table>
</form>

</table>


<br>
<br>
<br>
<br>
<br>
<table border="1px" cellspacing="0px" align="center" v-align="middle" cellpadding="0px" width="500px" height="300px" >
    <caption>健康资料表</caption>
    <tr align="center" v-align="middle" >
        <th>姓名</th>
        <th>老王</th>
        <th>电话</th>
        <th colspan="2"  align="center">18812341234</th>
    </tr>
    <tr align="center" v-align="middle" >
       <td rowspan="2">有房</td>
       <td>有车</td>
       <td colspan="2"  align="center">身体健康状况</td>
       <td>吃啥啥香</td>
    </tr>
    <tr align="center" v-align="middle" >
      
        <td>年份</td>
        <td>2017</td>
        <td>2018</td>
        <td>2019</td>
     </tr>
</table>
</body>
</html>

– PHP 文件啊
<?php var_dump($_GET); var_dump($_POST); var_dump($_FILES);

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值