项目八单元测试
- 以下空白处应填写的正确选项是( )
<!DOCTYPE html>
<html>
<body>
<input type="_____" name="email" placeholder="请输入邮箱地址">
</body>
</html> - 在最后一个option标签的value属性中填写的内容应该是( )。
<!DOCTYPE html>
<html>
<body>
<select name="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="_____">其他</option>
</select>
</body>
</html> - 以下选择正确的是( )。
<h_____>这是三级标题</h_____> - 以下选择正确的是( )。
<textarea name="message" rows="4" _____ ="50"></textarea> - 以下选择正确的是( )。
<button type="_____">点击我实现普通按钮操作</button>(答案:button) - HTML 表单中的所有输入元素都必须包含 name 属性。( )
- HTML 表单中的 method 属性用于定义表单数据的发送方式,可以设置为 get 或 post。( )
- HTML 表单中的 action 属性用于定义表单提交后的处理程序,只能设置为 URL。( )
- HTML 表单中的 <select> 标签可以包含多个 <option> 标签,用户只能选择其中一个选项。( )
- HTML 表单中的 <input> 标签只能用于定义输入框。( )
- 若要产生一个图像提交按钮,以下方法中,正确的是( ) 。
- 若要产生一个4行30列的多行文本域,以下方法中,正确的是( ) 。
- 当用户填写完信息后单击普通按钮做提交操作。( )
- method属性用来定义处理程序从表单中获得信息的方式,可取值为get或post中的一个。其中post方式传送的数据量比较小。( )
- <input type="text" value="username">中的value属性是指表单提交后将传送到服务器的值。( )
A:url B:email C:text D:tel
答案:email
A:name B:other C:email D:sex
A:4 B:1 C:2 D:3
A:name B:cols C:id D:value
A:button B:none C:reset D:submit
A:对 B:错
A:错 B:对
A:对 B:错
A:错 B:对
A:错 B:对
A:<input type="textarea" data-src="images/22.png" name="image2"> B:<input type="text" data-src="images/22.png" name="image2"> C:<input type="image" data-src="images/22.png" name="image2"> D:<input type="text" data-src="images/22.png" name="image2">
A:<textarea rows="4" cols="30" name="txtinfo"> B:<textarea rows="4" cols="30" name="txtinfo"></textarea> C:<input type="textarea" rows="4" cols="30" name="txtinfo"> D:<textarea rows="30" cols="4” name="txtinfo"></textarea>
A:错 B:对
A:错 B:对
A:对 B:错
温馨提示支付 ¥3.00 元后可查看付费内容,请先翻页预览!