2.HTML基础

随堂测试

1、单选题:
‌超链接基本语法是:‎
选项:
A: <a goto="URL"> ... </a>
B: <a herf="URL"> ... </a>
C: <a link="URL"> ... </a>
D: <a href="URL"> ... </a>
答案: 【 <a href="URL"> ... </a>

2、单选题:
‌超文本标记语言<a href=“http://www.cctv.com”>央视国际</a>的作用是:​
选项:
A: 插入一段央视国际网站的文字
B: 插入一幅央视国际网站的图片
C: 创建一个指向央视国际网站的电子邮件
D: 创建一个指向央视国际网站的超链接
答案: 【 创建一个指向央视国际网站的超链接

3、单选题:
‍以下说法正确的是:‎
选项:
A: <a>标签是页面链接标签,只能用来链接到其他页面
B: <a>标签是页面链接标签,只能用来链接到本页面的其他位置
C: <a>标签的src属性用于指定要链接的地址
D: <a>标签的href属性用于指定要链接的地址
答案: 【 <a>标签的href属性用于指定要链接的地址

4、判断题:
‎a标签可以跳转到外部站点的页面,例如跳转到新浪网首页,可以写如下代码:‌‎<a href="www.sina.com.cn">新浪首页</a>‌
选项:
A: 正确
B: 错误
答案: 【 错误

随堂测验

1、单选题:
‏在HTML中,<form action=?>,action表示:‍
选项:
A: 提交的方式
B: 表单所用的脚本语言
C: 提交的URL地址
D: 表单的形式
答案: 【 提交的URL地址

2、单选题:
‎增加表单的输入框的HTML代码是:​
选项:
A: <input type=submit>
B: <input type=image>
C: <input type=text>
D: <input type=hide>
答案: 【 <input type=text>

3、单选题:
‎增加表单的复选框的HTML代码是:‍
选项:
A: <input type=submit>
B: <input type=reset>
C: <input type=text>
D: <input type=checkbox>
答案: 【 <input type=checkbox>

4、单选题:
​增加表单的文本域的HTML代码是:‍
选项:
A: <input type=submit></input>
B: <textarea name="textarea"></textarea>
C: <input type=radio></input>
D: <input type=checkbox></input>
答案: 【 <textarea name="textarea"></textarea>

5、单选题:
​增加表单的密码域的HTML代码是:​
选项:
A: <input type=submit>
B: <input type=password>
C: <input type=radio>
D: <input type=checkbox>
答案: 【 <input type=password>

3.CSS样式

随堂测验

1、单选题:
‏在CSS语言中下列哪一项是"列表项标号图象"的语法( )。‍
选项:
A: width: <值>
B: height: <值>
C: list-style-image: <值>
D: list-style-picture: <值>
答案: 【 list-style-image: <值>

2、单选题:
‏下列(    )表示列表项符号是小方块。‏
选项:
A: list-style-type: square
B: list-type: square
C:  type: 2
D: type: square
答案: 【 list-style-type: square

3、多选题:
‏list-style-position的取值包括(    )。‎
选项:
A: inside
B: inner
C: outter
D: outside
答案: 【 inside;
outside

4、多选题:
​list-style-type属性叙述正确的是(    )。‌
选项:
A: 可以设置列表项目标号类型。
B: 对无序列

剩余75%内容付费后可查看

发表评论

电子邮件地址不会被公开。 必填项已用*标注