HTML试题及答案.docx
- 文档编号:9606245
- 上传时间:2023-05-20
- 格式:DOCX
- 页数:18
- 大小:23.23KB
HTML试题及答案.docx
《HTML试题及答案.docx》由会员分享,可在线阅读,更多相关《HTML试题及答案.docx(18页珍藏版)》请在冰点文库上搜索。
HTML试题及答案
HTML练习题1(选择题)
一、选择
1.在一个框架的属性面板中,不能设置下面哪一项。
(D)
A.源文件;B.边框颜色;C.边框宽度D.滚动条
2.下列哪一项表示的不是按钮。
(C)
A.type="submit"B.type="reset"C.type="image"D.type="button"
3.下面哪一个属性不是文本的标签属性(B)
A.nbsp;B.alignC.colorD.face
4.下面哪一项的电子邮件链接是正确的(D)
A.B.xxx@C.xxx@com
5.当链接指向下列哪一种文件时,不打开该文件,而是提供给浏览器下载。
(C)
A.ASPB.HTMLC.ZIPD.CGI
6.关于表格的描述正确的一项是。
(D)
A.在单元格内不能继续插入整个表格
B.可以同时选定不相邻的单元格
C.粘贴表格时,不粘贴表格的内容
D.在网页中,水平方向可以并排多个独立的表格
7.如果一个表格包括有1行4列,表格的总宽度为“699”,间距为“5”,填充为“0”,边框为“3”,每列的宽度相同,那么应将单元格定制为多少像素宽。
(D)
A.126B.136C.147D.167
8.关于文本对齐,源代码设置不正确的一项是:
(A)
A.居中对齐:
B.居右对齐:
C.居左对齐:
D.两端对齐:
9.下面哪一项是换行符标签(C)
A.
B.C.D.
10.下列哪一项是在新窗口中打开网页文档。
(B)
A._selfB._blankC._topD._parent
11.下面对JPEG格式描述不正确的一项是。
(C)
A.照片、油画和一些细腻、讲求色彩浓淡的图片常采用JPEG格式
B.JPEG支持很高的压缩率,因此其图像的下载速度非常快
C.最高只能以256色显示的用户可能无法观看JPEG图像
D.采用JPEG格式对图片进行压缩后,还能再打开图片,然后对它重新整饰、编辑、压缩
12.在一个框架组的属性面板中,不能设置下面哪一项。
(D)
A.边框颜色B.子框架的宽度或者高度C.边框宽度D.滚动条
13.Web安全色所能够显示的颜色种类为(A)。
A216色B256色C千万种颜色D1500种色
14.常用的网页图像格式有()和(C).
,tiffB.tiff,jpgC.gif,jpgD.tiff,png
15.如果要表单提交信息不以附件的形式发送,只要将表单的“MTME类型”设置为(A)。
/plainB.passwordC.submitD.button
16.下面说法错误的是(D)。
样式表可以将格式和结构分离B.CSS样式表可以控制页面的布局
C.CSS样式表可以使许多网页同时更新D.CSS样式表不能制作体积更小下载更快的网页
17.CSS样式表不可能实现(D)功能。
A.将格式和结构分离B.一个CSS文件控制多个网页
C.控制图片的精确位置D.兼容所有的浏览器
18.表格是网页中的(),框架是由数个()组成的。
(A)
A.元素,帧B.元素,元素C.帧,元素D.结构,帧
19.要使表格的边框不显示,应设置border的值是(B)。
A.1B.0C.2D.3
20.在HTML中,(B)不是链接的目标属性。
B.newC.blankD.top
21.在网页设计中,(A)是所有页面中的重中之重,是一个网站的灵魂所在。
A.引导页B.脚本页面C.导航栏D.主页面
22.为了标识一个HTML文件应该使用的HTML标记是(C)。
A.
</p>B. 23.在客户端网页脚本语言中最为通用的是(A). B.VBC.PerlD.ASP 24.在HTML中,标记的Size属性最大取值可以是(C)。 B.6C.7D.8 25.在HTML中,标记 A.标题标记B.预排版标记C.转行标记D.文字效果标记 26.在DHTML中把整个文档的各个元素作为对象处理的技术是(C). B.CSSD.Script(脚本语言) 27.下面不属于CSS插入形式的是(A). A.索引式B.内联式C.嵌入式D.外部式 28.如果站点服务器支持安全套接层(SSL),那么连接到安全站点上的所有URL开头是(B)。 A.HTTPB.HTTPSC.SHTTPD.SSL 29.下列描述错误的是(B)。 是HTML基础上发展的一门语言 B.根据处理用户操作位置的不同,HTML主要分为两大类: 服务器端动态页面和客户端动态页面 C.客户端的DHTML技术包括HTML4.0、CSS、DOM和脚本语言 D.DHTML侧重于WEB内容的动态表现 30.可以不用发布就能在本地计算机上浏览的页面编写语言是(B)。 AASP BHTML CPHP DJSP 31.在网页中,必须使用(A)标记来完成超级链接。 A… B … 32.有关网页中的图像的说法不正确的是(C)。 A网页中的图像并不与网页保存在同一个文件中,每个图像单独保存 BHTML语言可以描述图像的位置、大小等属性 CHTML语言可以直接描述图像上的像素 D图像可以作为超级链接的起始对象 33.下列HTML标记中,属于非成对标记的是(A)。 A D 34.用HTML标记语言编写一个简单的网页,网页最基本的结构是(D)。 A B C D 35.主页中一般包含的基本元素有(A)。 A超级链接 B图像 C声音 D表格 36.以下标记符中,用于设置页面标题的是(A) A. 37.以下标记符中,没有对应的结束标记的是(B) A. 38.若要是设计网页的背景图形为,以下标记中,正确的是(A) A. B. C. D. 39.若要以标题2号字、居中、红色显示”vbscrip”,以下用法中,正确的是(D) A. B. C. D. 40.若要以加粗宋体、12号字显示“vbscript”以下用法中,正确的是(B) A. B. C. D. 41.若要在页面中创建一个图形超链接,要显示的图形为,所链接的地址为以下用法中,正确的是(C); A C 42.以下标记中,用于定义一个单元格的是(A); A C 43.用于设置表格背景颜色的属性的是(B); AbackgroundBbgcolorCBorderColorDbackgroundColor 44.要将页面的当前位置定义成名为”vbpos”和锚,其定义方法正确的是(D) A. vbpos”> B. C. D. 45.若要获得名为login的表单中,名为txtuser的文本输入框的值,以下获取的方法中,正确的是(A); Ausername=Busername=username=Cusername=若要产生一个4行30列的多行文本域,以下方法中,正确的是(C)。 A. B. C. D. 47.用于设置文本框显示宽度的属性是(A)。 BMaxLengthC.Value 48.在网页中若要播放名为的动画,以下用法中,正确的是(D)。 A. B. C. D. 49.若要循环播放背景音乐,以下用法中,正确的是(A)。 A. B. C. D. 50.以下标记中,用来创建对象的是(A)。 A. 51.以下标记中,可用来产生滚动文字或图形的是(B)。 A. 52.可用来在一个网页中嵌入显示另一个网页内容的标记符是(B)。 A. 53.若要在网页中插入样式表,以下用法中,正确的是(B)。 A. B. C. D. 54.若要在当前网页中定义一个独立类的样式myText,使具有该类样式的正文字体为”Arial”,字体大小为9pt,行间距为13.5pt,以下定义方法中,正确的是(A)。 A. .myText{Font-Familiy: Arial;Font-size: 9pt;Line-Height: 13.5pt} B..myText{Font-Familiy: Arial;Font-size: 9pt;Line-Height: 13.5pt} C. .myText{FontName: Arial;FontSize: 9pt;LineHeight: 13.5pt} D. ..myText{FontName: Arial;Font-ize: 9pt;Line-eight: 13.5pt} 55.若要使表格的行高为16pt,以下方法中,正确的是(B) A. 16”>…</table>
的作用是(B)。
C
C.D.
/div> B… …
d
B. 16pt”>… C. D. 56.以下创建mail链接的方法,正确的是(C) A.管理员 B.管理员 C.管理员 D.管理员 57.有关框架与表格的说法正确的有(B)。 A框架对整个窗口进行划分 B每个框架都有自己独立网页文件 参考答案: 一、选择 1-5dcbdc 6-10ddacb 11-15cdaca 16-20ddabb 21-25acacb 26-30cabbb 31-35acada 36-40abadb 41-45cabda 46-50cada 51-55bbbab 56-57cb HTML练习题1(选择题) 一、选择 1.在一个框架的属性面板中,不能设置下面哪一项。 () A.源文件;B.边框颜色;C.边框宽度D.滚动条 2.下列哪一项表示的不是按钮。 () A.type="submit"B.type="reset"C.type="image"D.type="button" 3.下面哪一个属性不是文本的标签属性() A.nbsp;B.alignC.colorD.face 4.下面哪一项的电子邮件链接是正确的() A.B.xxx@C.xxx@com 5.当链接指向下列哪一种文件时,不打开该文件,而是提供给浏览器下载。 () A.ASPB.HTMLC.ZIPD.CGI 6.关于表格的描述正确的一项是。 () A.在单元格内不能继续插入整个表格 B.可以同时选定不相邻的单元格 C.粘贴表格时,不粘贴表格的内容 D.在网页中,水平方向可以并排多个独立的表格 7.如果一个表格包括有1行4列,表格的总宽度为“699”,间距为“5”,填充为“0”,边框为“3”,每列的宽度相同,那么应将单元格定制为多少像素宽。 () A.126B.136C.147D.167 8.关于文本对齐,源代码设置不正确的一项是: () A.居中对齐: