首页 > 代码库 > HTML1118,表格与表单

HTML1118,表格与表单

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>表格与表单</title>
</head>

<body>
<table bgcolor="#00FF33" align="center" border="0" width="400" height="500" cellpadding="0" cellspacing="0"> 边框为零可去掉
<tr height="41">
<td width="120">邮箱:</td>
<td width="322"><input type="text"/></td>
</tr>
<tr height="41">
<td></td>
<td><font color="#999999" size="-2">需要通过邮箱激活账户,不支持souhu,21n,sougou的邮箱 </font></td> 
</tr>
<tr height="41">
<td>登陆用户名:</td>
<td><input type="text" placeholder="" /></td>
</tr>
<tr height="41">
<td></td>
<td><font color="#999999" size="-2">尽在登陆时使用,字符不少于4个</font></td>
</tr>
<tr height="41">
<td>显示名称:</td>
<td><input type="text" placeholder="" /></td>
</tr>
<tr height="41">
<td></td>
<td><font color="#999999" size="-2">即昵称,字符不少于2个</font></td>
</tr>
<tr height="41">
<td>密码:</td>
<td><input type="password" value="11111111"</td>
</tr>
<tr height="41">
<td>确认密码:</td>
<td><input type="password" value="11111111" /></td>
</tr>
<tr height="41">
<td></td>
<td><font color="#999999" size="-2">至少8位,必须包含字母、数字、特殊字符</font></td>
</tr>
<tr>
<td>性别:</td>
<td><input type="radio" name="s"checked="checked"/><input type="radio" name="s"/></td>
</tr>
<tr height="41">
<td>喜好:</td>
<td><font color="#000000" size="-2"><input type="checkbox" checked="checked"/>听音乐
<input type="checkbox" />打篮球
<input type="checkbox" />踢足球
<input type="checkbox" />旅游</font>
</td>
</tr>
<tr>
<td></td>
<td><input type="submit" value="注册" />
<input type="reset" value="重置" />
</td>
</tr>
</table>
<img usemap="huonan" src="../../火男.jpg" width="300">
<map name="huonan">
<area shape="rect" coords="79,-2,166,100" href="http://www.baidu.com" target="_blank"/>
</map>
</body>
</html>

 

HTML1118,表格与表单