<!DOCTYPE html><!--h5的适用于移动端-->
<html>
	<body>
		<meta charset="utf-8" />
		<title> 定义域和与标题实例</title>
		<form name="form1" method="post" action="form_action.jsp" enctype="text/plain">
			<fieldset>
				<legend align="left">基础信息</legend>
				性别:<input type="text"  maxlength="5" value="6112" readonly="1"/><br />
				密码:<input type="password" />
				高等数学:<input type="text" size="15" />
				大学物理:<input type="text" size="15" /><br /><br />
				
				<fieldset id="">
				<legend>多选</legend>

				<input type="checkbox" name="like" value="唱歌" checked="checked" />唱歌<br />
				<input type="checkbox" name="like1" value="跳舞" checked="checked" />跳舞<br />
				<input type="checkbox" name="like2" value="游戏" checked="checked" />爱好<br />
				</fieldset>
				
				<fieldset id="">
					<legend>单选</legend>
					
				<input type="radio" name="sex" value="male" checked="checked" />男<br />
				<input type="radio" name="sex" value="female" checked="checked" />女<br />
				</fieldset>
				
				<input type="submit" value="成绩提交"/>
				<input type="reset"  value="乘积重置"/>
			</fieldset>
			<h3>请选择您的课程</h3>
			<select name="course" size="1" multiple="2">
				<option value="c1">计算机组成原理</option>
				<option value="c2">计算机网络</option>
				<option value="c3">C/C++程序设计</option>
				<option value="c4">数据结构</option>
				<option value="c5">Jave程序设计</option>
				<option value="c6">前端开发</option>
			</select>
		</form>
	</body>
</html>

作业

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>11.6综合实例</title>
</head>
<body>
	<h3 align="center">第十八届中国国际广告节会议注册表</h3>
	<from name="forml" method="post" action="form_action.jsp" enctype="text/plain">
	<table border="1" align="center" cellpadding="5" cellspacing="0" width="50%">
		<tr>
			<td align="left" colspan="5">
				参会者姓名<input type ="text" name="username" size="15"  />
			</td>
			<td colspan="4">
				职务<input type ="text" name="username" size="15" />
			</td>
		</tr>
		
		<tr>
			<td align="left" colspan="11">
				工作单位 <input type="text" name="workplace" size="40" />
			</td>
		</tr>
		
		<tr>
			<td align="center" colspan="3">
				电话 <input type="number" name="phone" size="11" />
			</td>
			<td align="center" colspan="3" >
				传真 <input type="number" name="chuanzhen" size="11" />
			</td>
			<td align="center" colspan="3">
				手机 <input type="number" name="telphone" size="11" />
			</td>
		</tr>
		
		<tr>
			<td align="left" colspan="6">
				通讯地址 <input type="text" name="place" size="25"/>
			</td>
			<td align="center" colspan="3" >
				邮编 <input type="number" name="youbian" size="11" />
			</td>
		</tr>
	</table>
	<table border="1" align="center" cellpadding="5" cellspacing="0" width="50%">
	  <tr> </tr>
	  <tr>
	    <td align="left" colspan="6">
	      E-mail <input type="text" name="email" size="20"/>
	      </td>
	    <td colspan="3">
	      国家  
	      <select name="nation" size="1" width="50%">
	        <option value="China">中国</option>
	        <option value="USA">美国</option>
	        <option value="UK">英国</option>
	        </select>
	      </td>
	    </tr>
	  
	  <tr>
	    <td align="left" colspan="6">
	      省份
	      <select name="nation" size="1" width="50%">
	        <option value="shandong">山东</option>
	        <option value="hubei">湖北</option>
	        <option value="jilin">吉林</option>
	        </select>
	      </td>
	    <td colspan="3">
	      城市 <input type="text" name="city" size="10"/>
	      </td>
	    </tr>
	  
	  <tr>
	    <td align="center" colspan="11" >会议费标准(人民币)</td>
	    </tr>
	  
	  <tr>
	    <td colspan="3">身份/时间</td>
	    <td colspan="3">2011920日之前注册</td>
	    <td colspan="3">2011920日之后注册</td>
	    </tr>
	  
	  <tr>
	    <td colspan="3">中广协会员</td>
	    <td colspan="3">
	      <input type="radio"  name="1500"/>1500
	      </td>
	    <td colspan="3">
	      <input type="radio"  name="1800"/>1800
	      </td>
	    </tr>
	  
	  <tr>
	    <td colspan="3">非会员</td>
	    <td colspan="3">
	      <input type="radio"  name="1800"/>1500
	      </td>
	    <td colspan="3">
	      <input type="radio"  name="2000"/>2000
	      </td>
	    </tr>
	  
	  <tr>
	    <td align="center" colspan="11">
	      <input  type="submit" name="submit" value="提交" />
	      <a href="https://blog.csdn.net/weixin_45675097" title="下载">第十八届中国国际广告节注册表下载</a>
	      </td>
	    </tr>
	  
	  </table>
		<center>
			
		</center>
		
	</from>
	
</body>
</html>