<%@LANGUAGE="VBscript" CODEPAGE="65001"%> 程序填空测试题1
程序填空题1

下图是动态网页提交前后浏览器显示的效果。请运用所学知识,根据代码前后文,在空白处补齐相关代码。

 

Form.asp部分代码:
……
<form id="form1" name="form1" method="①" action=" ② ">
<table width="432" border="0" align="center">
<tr>
<td colspan="4">请输入您的信息:</td>
</tr>
<tr>
<td width="47"> ③ </td>
<td width="49">姓名:</td>
<td width="322" colspan="2">
<input name="name" type="text" id="name" size="6" /></td>
……
<td>性别:</td>
<td colspan="2">
<input name="sex" type="radio" value="male" checked=" ④ " />

<input type="radio" name="sex" value="female" />
女</td>
……
<td>爱好:</td>
<td colspan="2">
<select name="love" id="love">
<option selected="selected">音乐</option>
<option> ⑤ </option>
……
<td colspan="4">
<input type=" ⑥ " name="button" id="button" value="提交" />
<input type=" ⑦ " name="button2" id="button2" value="重置" /></td>
</tr>
</table>
</form>

Request_form.asp部分代码:

<%
name=request. ⑧
sex=request. ⑨
love=request. ⑩
response.Write("您输入的信息如下:"&"<br/>"&"<br/>")
response.Write("姓名 "&name&"<br/>")
response.Write("性别 "&sex&"<br/>")
response.Write("爱好 "&love&"<br/>")
%>

答案填写区:

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.