Blogger Information
Blog 14
fans 0
comment 0
visits 8875
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
3.19作业
大熊的php博客
Original
552 people have browsed it

代码如下

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>简历简表</title>
</head>


<body>

<caption><h2>简历简表</h2></caption>
<form action="go.php" method="post">  <!-- action  提交地址   method 提交方式 -->
<fieldset>
<table bgcolor="#AEEEEE" border="1" cellspacing="0px" cellpadding="8px" width="50%">

<tr >
<td width="40px">
<label for="name">姓名:</label></td>  <!-- value 代表值 type 格式  name的名字   placeholder  label 方便获取焦点  for的名字要一致 -->
<td width="360px"><input value="" type="text" name="name" placeholder="必须是真实姓名" id="name"></td>
</tr>
<tr >
<td>
<label for="password">密码:</label></td>
<td><input value="" type="text" name="password" placeholder="字母加数字,不能多于16个字符" id="password"></td>
</tr>
<tr >
<td>
<label for="model">性别:</label></td>    <!-- radio 当选按钮 -->
<td><input value="男" type="radio" name="sex"  id="model">男
<input value="女" type="radio" name="sex" id="model">女
<input value="人妖" type="radio" name="sex"  id="model" checked="">人妖</td>
</tr><tr >
<td>
技能包:</td>
<td>  <!--  checkbox 代表复选款   用数组来存储数据 -->
<input value="ps" type="checkbox" name="jineng[]">ps
<input value="php" type="checkbox" name="jineng[]">php
<input value="html" type="checkbox" name="jineng[]" checked="">html</td>
</tr>
<tr >
<td>
<label for="zt">在职状态:</label></td>
<td>
<select  name="zt">
                 <option  value="在职">在职</option>
                 <option   value="在职">离职</option>
                 <option   value="在职" selected="">观望</option>

                 </select></td>
</tr>
<tr>
<td>头像</td>  <!-- accpte 代表可以上传的格式 -->

<td><input type="file" name="photo" accept="image/*"></td>

</tr>
<tr>
<td><label for="wenben">工作经历</label></td>
<td ><textarea  name="wenben" id="wenben" placeholder="请写近段时间的工作经验" cols="50" rows="4"></textarea></td>
</tr>

<tr>

<td colspan="2"> <input type="submit" name="submit" value="提交">   <input type="reset" name="reset" value="重置"></td>


</tr>
</fieldset>
</table>

</form>
</body>
</html>

运行效果

753.jpg



手拍照:

37.jpg

Correction status:qualified

Teacher's comments:作业已检查! 写的很不错哦! 博客发布作业中添加了线上运行代码的新功能! 群文中找到入群必读文件夹下的博客如何提交作业.gif图下载了解
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!