大学MOOC 网页设计与制作(湖北经济学院法商学院)1455705161 最新慕课完整章节测试答案
第一章网页设计概述
平时测验
1、单选题:
HTML是一种( )。
选项:
A: 编程语言
B: 标记语言
C: 自然语言
D: 速记语言
答案: 【 标记语言】
2、单选题:
HTML段落是通过( )标签进行定义的。
选项:
A: <p>
B: <b>
C: <q>
D: <s>
答案: 【 <p>】
3、单选题:
HTML链接是通过( )标签进行定义的。
选项:
A: <area>
B: <link>
C: <abbr>
D: <a>
答案: 【 <a>】
4、单选题:
HTML图像是通过( )标签进行定义的。
选项:
A: <img>
B: <imgs>
C: <pic>
D: <pics>
答案: 【 <img>】
5、单选题:
( )元素定义了整个HTML文档。
选项:
A: <xhtml>
B: <html>
C: <php>
D: <jsp>
答案: 【 <html>】
6、单选题:
( )元素定义了HTML文档的主体。
选项:
A: <html>
B: <head>
C: <body>
D: <title>
答案: 【 <body>】
7、单选题:
如果希望在不产生一个新段落的情况下进行换行(段内换行),可以使用( )标签。
选项:
A: <enter/>
B: <hr/>
C: <br/>
D: <ins/>
答案: 【 <br/>】
8、单选题:
能够通过使用( )属性直接将样式添加到HTML元素。
选项:
A: style
B: link
C: import
D: css
答案: 【 style】
9、单选题:
要正确定义一个指向新浪网的超链接,需要在下面<a>标签内的下划线处填上( )。<a ="http://www.sina.com.cn">新浪</a>
选项:
A: target
B: src
C: rel
D: href
答案: 【 href】
10、单选题:
<a>标签的target属性值为( )时,浏览器总在一个新打开、未命名的窗口中载入目标文档。
选项:
A: _self
B: _blank
C: _parent
D: _top
答案: 【 _blank】
11、单选题:
某网页地址是“https://www.test.com/index.htm”,其中包含如下代码:
<img src="images/logo.gif" />
则logo.gif的绝对URL是:
选项:
A: http://www.test.com/logo.gif
B: http://www.test.com/index/logo.gif
C: http://www.test.com/images/logo.gif
D: https://www.test.com/index.htm/logo.gif
答案: 【 http://www.test.com/images/logo.gif】
12、单选题:
使用( )标记,可以将某些文字显示在浏览器标题栏上。
选项:
A: body
B: head
C: a
D: title
答案: 【 title】
13、单选题:
可以通过设置<table>标签的属性( )来显示单线表格。
选项:
A: cellspacing=0
B: cellpadding=0
C: border=0
D: width=0
答案: 【 cellspacing=0】
14、单选题:
下面是一条CSS规则,若要定义当鼠标指针位于字符链接上方时字符加粗显示,可以在下划线处填上( )。 { font-weight: bold;}
选项:
A: a:link
B: a:visited
C: a:hover
D: a:active
答案: 【 a:hover】
15、单选题:
下面是一条CSS规则,若要定义一个元素框的边框宽度为2px,可以在下划线处填上( )。.kuang { : 2px;}
选项:
A: margin
B: padding
C: borde
D: border-width
答案: 【 border-width】
16、单选题:
下面是一条CSS规则,若要定义一个元素框的外边距为20px,可以在下划线处填上( )。.kuang { : 20px;}
选项:
A: margin
B: padding
C: borde
D: border-width
答案: 【 margin】
17、单选题:
要使<input type=" "> 定义用于文本输入的单行输入字段,应在下划线处填上( )。
选项:
A: text
B: radio
C: checkbox
D: password
答案: 【 text】
18、单选题:
要使<input type=" "> 定义单选按钮,应在下划线处填上( )。
选项:
A: text
B: radio
C: checkbox
D: password
答案: 【 radio】
19、单选题:
要使<input type="  
