Blogger Information
Blog 9
fans 0
comment 0
visits 3774
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
3月19日作业
好的博客
Original
463 people have browsed it

今天是第3天在PHP中文网学习!    

代码:

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>3-19作业</title>

</head>

<body>

<form action="" method="post">

<table border="0" cellspacing="8" width="600" bgcolor="lightblue">

<caption><h2>用户注册</h2></caption>

<tr>

<td colspan="2"><hr></td>

</tr>

<tr>

<td width="90"><label for="name">用户名:</label></td>

<td width="400"><input type="text" id="name" name="" value=""  ></td> <br>  

</tr>

<tr>  

<td width="90"><label for="name">密  码:</label></td>

<td width="400"><input type="text" id="name" name="" value=""  ></td> <br> 

</tr>

<tr>  

<td width="90"><label for="name">确认密码:</label></td>

<td width="400"><input type="text" id="name" name="" value=""  ></td> <br> 

</tr>

<td width="90"><label for="name">邮  箱:</label></td>

<td ><input type="text" id="name" name="name" value="" placeholder="example@mail.com" size="25"  ></td>

</tr>


</tr>

<td width="90">性  别:</td>

<td >

<input type="radio" name="sex" value="male"> 男  

<input type="radio"  name="sex" value="woman"> 女 

<input type="radio" name="sex" value="secret" checked="">  保密 

</td>

</tr>


<tr>

<td width="90">婚  姻:</td>

<td>

<input type="radio" name="Marital" value="OK">已婚

<input type="radio" name="Marital" value="NO">未婚

</td>

</tr>


<tr>

<td width="90">爱  好:</td>

<td>

<input type="checkbox" name="aiHao[]" value="basketball">篮球

<input type="checkbox" name="aiHao[]" value="football">足球


<input type="checkbox" name="aiHao[]" value="bicycle">自行车

<input type="checkbox" name="aiHao[]" value="running">跑步

<input type="checkbox" name="aiHao[]" value="photography">摄影

</td>

</tr>


<tr>

<td width="90">学  历:</td>

<td>

<select>

<option value="">博士 </option>

<option value="">研究生 </option>

<option value="">本科 </option>

<option value="">专科 </option>

<option value="">高中 </option>

<option value="">初中 </option>

<option value="">其他 </option>

</select>  

</td>

</tr>


<tr>

<td><label for="photo">照  片:</label></td>


<td>

<img src="../images/丁磊.jpg" width="30" height="30"> 

<input type="file" id="" name="photo"  accept="用来干嘛">

</td>

</tr>

<tr>

<td valign="middle"><label >自我评价:</label></td>

<!-- 文本域 size=25  -->

<td>

<textarea name="memo1" id="memo1" rows="8" cols="50" placeholder="自我评价"></textarea> 

</td>

</tr>  


<!-- 按钮的宽度怎样设置 -->

<tr>

<td colspan="2">

<hr>

<input type="submit" name="submit" value="提交"   >

&nbsp;&nbsp;&nbsp;&nbsp;

<input type="reset" name="reset" value="重填"  >

&nbsp;&nbsp;&nbsp;&nbsp;

<input type="submit" name="submit" value="关闭"  >

</td>

</tr>

</table>

</form>

</body>

</html>

手写代码

3-19.jpg

Correction status:unqualified

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