代码< inputtype=”text”minlength=“3”maxlength=“5”/>以下能够正确的提交表单的是()。
第1题:
有程序代码如下:
Textl. Text= "Visual Basic"
则Text1,Text,和气Tisual Basic"分别代表( )。
A. 对象,值,属性
B. 对象,方法,属性
C. 对象,属性,值
D. 属性,对象,值
第2题:
YouarecreatingawebformwiththisHTML:11.<formaction="sendOrder.jsp">12.<inputtype="text"name="creditCard">13.<inputtype="text"name="expirationDate">14.<inputtype="submit">15.</form>WhichHTTPmethodisusedwhensendingthisrequestfromthebrowser?()
A.GET
B.PUT
C.POST
D.SEND
E.FORM
第3题:
A、TEXTAREA/TEXTAREA
B、INPUTtype=”text”/
C、INPUTtype=”hidden”/
D、DIV/DIV
第4题:
以下哪段代码不能正确创建函数show()?()
第5题:
在网页中创建一个如下图所示的表单控件的HTML代码是______。
A.<input type="text"name="T1"size="20">
B.<textarea rows="1"name="T1"cols="20"></textarea>
C.<inputtype="radio"value="T1"checkedname="R1">
D.<select size="1"name="T1"></select>
第6题:
YouarecreatingalibraryofcustomtagsthatmimictheHTMLformtags.Whentheusersubmitsaformthatfailsvalidation,theJSPformisforwardedbacktotheuser.The<t:textField>tagmustsupporttheabilitytore-populatetheformfieldwiththerequestparametersfromtheuser’slastrequest.Forexample,iftheuserentered"Samantha"inthetextfieldcalledfirstName,thentheformisre-populatedlikethis:<inputtype=’text’name=’firstName’value=’Samantha’/>Whichtaghandlermethodwillaccomplishthisgoal?()
A.
B.
C.
D.
第7题:
[说明]
请根据网页显示的效果图,将HtML文本(n)处的解答填写在相应的解答栏内。
[上图网页中的元素说明]
[HTML文档代码]
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta. http-equiv= "Content-Type"content="text/html;charset=gb2312"><title>添加学生信息</title>
</head>
<body>
<formaction="add_Student.jsp"method="post"name="addforml">
<tablewidth="412"border="0"align="center"celipadding="0"cellspacing="0">
<tr>
<td colspan="3" align="center"><hr size="1"></td>
</tr>
<tr>
<tdwidth="92"align="center"> 学号</td>
<td width="215">
<input name="txtNumber" type="text" id="txtNumber"> </td>
<tdwidth="105"rowspan="5"align="center"valign="middle">
(1)
</td>
</tr>
<tr>
<tdheight="26"align="center">姓名</td>
<td><input name= "txtName"type="text"id="txtName"></td>
</tr>
<tr>
<td align="center">性别</td>
<td>
(2) 男
<inputtype="radio"name="rbSex"value="女">女
</td>
</tr>
<tr>
<tdheight="21"align="center",籍 贯</td>
<td><select name="selHome” id="selHome">
(3)
<option value="江苏">江苏</option>
<option value="上海">上海</option>
<option value="北京">北京</option>
<option value="浙江">浙江</option>
<option value="山东">山东</option>
<option value="其他">其他</option>
</select></td>
</tr>
<tr>
<td align="center">电子邮件</td>
<td><inputname="txtEmail"type="text"id="txtEmail"></td>
</tr>
<tr>
<td align="center">联系电话</td>
<td><inputname="txtTel"type="text" id="txtTel"></td>
<td align="center">
(4)
</td>
</tr>
<tr>
<td height="15" colspan="3"><hr size="1"></td>
</tr>
<tr>
<td align="center",个人简介</td>
<td colspan="2">
(5)
</td>
</tr>
<tr>
<tdheight="23"colspan="3"align="center">
<inputtype="submit"name="Submit"value="提交">&nbsp;&nbsp;&nbsp;&nbsp;
<inputtype="reset"name="Submit2"value="重置"> </td>
</tr>
<tr>
<td height="23" colspan="3" align="center"><hr size="1"></td>
</tr>
</table>
</form>
</body>
</html>
(1)
第8题:
如果对象的名称为Mytext,而且对象有一个属性Text,那么在代码中引用该属性的正确
格式是( )
A.Text.Mytext
B.Mytext.Text
C.Mytext.(Text)
D.Mytext*Text
第9题:
第10题:
有如下XML代码段: <element>text</element> 可以通过哪些方法获得标记<element>中的数据“text”?