2

一生倾哲的博客
一生倾哲的博客原创
2018年03月20日 21:43:03628浏览

<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<title>Document</title>

</head>

<body>

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

<table border="0" cellspacing="0" cellpadding="1" width="400" bgcolor="powderblue">

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

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

<tr>

<td><label for="email">邮箱</label>

<td><input type="text" id="email" name="eamil" placeholder="123@160.com" size="20"></td>

  

</td>


 

</tr>

<tr>

<td><label for="password">密码</label></td>

<td><input type="password" id="password" name="password" placeholder="m密码8位"></td>




</tr>

<tr>

<td>性别</td>

<td>

<input type="radio"  name="sex" value="mail">

<input type="radio"  name="sex" value="femail">

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

</td>


</tr>

<tr>

<td>兴趣</td>

<td>

<input type="checkkbox"  name="hobbt[]" value="html">html

<input type="checkbox"  name="hobby[]" value="js">js

<input type="checkbox"  name="hobby[]" value="php" checked="">php

</td>


</tr>



<tr>

<td>级别</td>

<td>

<SELECT name="level">

<option value="0">如门</option>

<option value="1">正常</option>

<option value="2" selected="">金童</option>


</SELECT>


</td>


</tr>

<tr>

<td><label for="photo">图像</label></td>

<img src="../iamges/1.png" height="30" width="30">

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



</tr>

<tr>

<td><label for="comment">留言</label></td>

<textarea rows="5" cols="40" id="comment" name="comment" placeholder="文明发言"></textarea>


</tr>

<tr>

<td colspan="2">

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

<hr>

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

</td>


</tr>


</table>




</form>


</body>

</html>


声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议