HTML测试题 下载本文

B. window C. location

61. HTML文件中的图片标记是( B )。 A. B. C.

62. 如果语句var fig=2出现在函数中,它声明了( B )类型的变量。 A. 一个全局变量 B. 一个局部变量 C. 一个常量

63. ( A )关键字用来创建对象实例。 A. new B. object

C. instance

64. 在循环中,continue语句的功能是( C )。 A. 让浏览器死机 B. 完全退出循环 C. 重新开始运行循环

65. Math.random函数生成随机数的范围是( B )。 A. 1至100 B. 0至1 C. 1至10

66. 下列代码段的功能是( A)。

A. 弹出警告信息 B. 弹出确认框 C. 定义函数

67. 写“Hello World”的正确javascript语法是?A A. document.write(\B. \

C. response.write(\D. (\68. JS特性不包括(D ) A. 解释性

9

B. 用于客户端 C. 基于对象 D. 面向对象

69. 下列JS的判断语句中( A)是正确的 A. if(i= =0) B. if(i=0)

C. if i= =0 then D. if i=0 then

70. 下列JavaScript的循环语句中( D)是正确的 A. if(i<10;i++) B. for(i=0;i<10) C. for i=1 to 10

D. for(i=0;i<=10;i++)

71. 下列的哪一个表达式将返回假B A. !(3<=1)

B. (4>=4)&&(5<=2) C. (“a”==”a”)&&(“c”!=”d”) D. (2<3)||(3<2)

72. 下列选项中,( D)不是网页中的事件 A. onclick

B. onmouseover C. onsubmit D. onpressbutton

73. 有语句“var x=0;while(____) x+=2;”,要使while循环体执行10次,空白处的循环判

定式应写为:C A. x<10 B. x<=10 C. x<20 D. x<=20

74. JS语句 var a1=10; var a2=20;

alert(“a1+a2=”+a1+a2) 将显示(B )结果 A. a1+a2=30 B. a1+a2=1020 C. a1+a2=a1+a2

10

75. 将字串s中的所有字母变为小写字母的方法是(B ) A. s.toSmallCase() B. s.toLowerCase() C. s.toUpperCase() D. s.toUpperChars()

76. 以下(C )表达式产生一个0~7之间(含0,7)的随机整数. A. Math.floor(Math.random()*6) B. Math.floor(Math.random()*7) C. Math. floor(Math.random()*8) D. Math.ceil(Math.random()*8) 77. 产生当前日期的方法是(C ) A. Now(); B. Date(); C. new Date(); D. new Now();

78. 如果想在网页显示后,动态地改变网页的标题( C) A. 是不可能的

B. 通过document.write(“新的标题内容”) C. 通过document.title=(“新的标题内容”) D. 通过document.changeTitle(“新的标题内容”)

79. 某网页中有一个窗体对象,其名称是mainForm,该窗体对象的第一个元素是按钮,其名

称是myButton,表述该按钮对象的方法是(B) A. document.forms.myButton

B. document.mainForm.myButton C. document.forms[0].element[0] D. 以上都可以

80. HTML文档的树状结构中,(A)标签为文档的根节点,位于结构中的最顶层。 A. B. C. D. </p><p>81. 在HTML页面中,CSS样式的属性名为background-image对应的style对象的属性名</p><p>是(B)。 A. background </p><p>B. backgroungImage C. image </p><p>D. back-ground </p><p> 11 </p><p>82. 在使用Javascript实现省市级联菜单功能时,在添加城市列表前清空原来的下拉选项</p><p>的代码是(C) </p><p>A. document.myform.selCity.options.clear() B. document.myform.selCity.options.deleteAll() C. document.myform.selCity.options.length=0 D. document.myform.selCity.options.size=0 </p><p>83. HMTL表单的首要标记是<form>,<form>标记的参数method表示表单发送的方法,可</p><p>能为get或post,下列关于get和post的描述正确的是(D) A. post方法传递的数据对客户端是不可见的 </p><p>B. get请求信息以查询字符串的形式发送,查询字符串长度没有大小限制 C. post方法对发送数据的数量限制在255个字符之内 D. get方法传递的数据对客户端是不可见的 </p><p>84. 在HTML文档对象模型中,history对象的(C)用于加载历史列表中的下一个URL</p><p>页面。 A. next() B. back() C. forward() D. go(-1) </p><p>85. 在Javascript中要改变页面文档的背景色,需要修改document对象的(C)属性。 A. BackColor </p><p>B. BackgroundColor C. BgColor D. Background </p><p>86. 在HTML页面中,不能与onChange事件处理程序相关联的表单元素有(D)。 A. 文本框 B. 复选框 C. 列表框 D. 按钮 </p><p>87. 在HTML页面上编写Javascript代码时,应编写在(B)标签中间。 A. <javascript>和</javascript> B. <script>和</script> C. <head>和</head> D. <body>和</body> </p><p>88. 在Javascript浏览器对象模型中,window对象的(A)属性用来指定浏览器状态栏中</p><p>显示的临时消息。 A. status B. screen C. history D. document </p><p> </p><p>12 </p><p></p><div class="page"><ul><li><a href=mlhd_96xng599ez10e609mki2_1.html>1</a></li><li><a href=mlhd_96xng599ez10e609mki2_2.html>2</a></li><li><a href=mlhd_96xng599ez10e609mki2_3.html class="hover" >3</a></li><li><a href=mlhd_96xng599ez10e609mki2_4.html>4</a></li><li><a href=mlhd_96xng599ez10e609mki2_5.html>5</a></li><li><a href=mlhd_96xng599ez10e609mki2_6.html>6</a></li><li><a title=下一页 href=mlhd_96xng599ez10e609mki2_4.html>>></a></li><li><a href=mlhd_96xng599ez10e609mki2_10.html>10</a></li></ul></div><a name="bot"></a></div> <div class="ad1" style="height:95px;"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- lhtop --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-8169456067121985" data-ad-slot="1775442566" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div> <div class="conter-line"> <a rel="nofollow" class="title2" href="/lhdl_96xng599ez10e609mki2.html" target="_blank">Word文档下载:HTML测试题.doc</a> <a class="top" title="" href="#top"></a> </div> <div class="conter-line"><a class="title2" title="HTML测试题" href="lhs_02002c025024ll7rmdu54_1.html">搜索更多:HTML测试题</a> <a class="top" title="" href="#top"></a> </div><br><br> <div class="conter-line"><a class="title2" href="#">最新浏览</a> <div class="next-txt sile-list"> <ul> <li><a title="儿科总复习题" href="lhs_g1ro29j0bhl9fhcu54_1.html">儿科总复习题</a></li><li><a title="服务类采购范本(正式)" href="lhs_kctgblol7ssnrvxpvnkdo014l7nirz015_1.html">服务类采购范本(正式)</a></li><li><a title="湖南文艺出版社二年级下册音乐全册教案(含计划)" href="lhs_lsmggnk1zprug6ymkony6fikinop0nfezg3wu0jfgwg2wg3wk0pklk014gmjrkxg7m015_1.html">湖南文艺出版社二年级下册音乐全册教案(含计划)</a></li><li><a title="泵房标准化管理" href="lhs_litjenkjrg5igeuof5mx2_1.html">泵房标准化管理</a></li><li><a title="锅炉排烟温度高的分析" href="lhs_tfpm89jo2manlrdip2ul4nesg7akgg_1.html">锅炉排烟温度高的分析</a></li><li><a title="节能减排知识题库(100题)" href="lhs_ps2ph9g5rjo2nolrlyu54ioj01401d01c01cu54015_1.html">节能减排知识题库(100题)</a></li><li><a title="组织行为学" href="lhs_p1gp1jqx8fgai1y_1.html">组织行为学</a></li><li><a title="班规班约集锦" href="lhs_mwdr7omwdp0mts6tgm_1.html">班规班约集锦</a></li><li><a title="余华作品中的女性形象" href="lhs_fo9ggefocgqpffxnesho3izriuarq9_1.html">余华作品中的女性形象</a></li><li><a title="CATTI三笔综合能力样题及参考答案" href="lhs_01v01t02c02c021fexob8p30glkph9gbfkl3u54gjugjmpabod0klk_1.html">CATTI三笔综合能力样题及参考答案</a></li> </ul> </div> </div><br><br> </div> <div class="side"> <div class="side-conter"> <div class="conter-line"> <a class="title3" title="" target="_blank">热门浏览</a> </div> <div class="next-txt sile-list"> <ul><li><a title="BR-Netview分布式显示系统技术方案 - 图文" href=lhd_3h10n4jeoo0ne2d1fb1r_1.html>BR-Netview分布式显示系统技术方案 - 图文</a></li><li><a title="34056《电机与拖动基础(第2版)》汤天浩(习题解答)" href=lhd_4nuwi8ptjw34ka294p2k_4.html>34056《电机与拖动基础(第2版)》汤天浩(习题解答)</a></li><li><a title="儿科总复习题" href=lhd_2uwsa8fvvr6h1tx45fjn_3.html>儿科总复习题</a></li><li><a title="红白喜事礼仪大全之11:红、白喜事常识" href=lhd_8fusy46gu110ttd0odun_4.html>红白喜事礼仪大全之11:红、白喜事常识</a></li><li><a title="翻译报告" href=lhd_0oee03dtu49o8y39xxc5_6.html>翻译报告</a></li><li><a title="中央电大开放本科《大学英语》统考作文范文51篇" href=lhd_8s92h00sli670et7bbff_7.html>中央电大开放本科《大学英语》统考作文范文51篇</a></li><li><a title="奉化市国民经济和社会发展第十一个五年规划纲要" href=lhd_6la5p7qncv7s7tu44gld_2.html>奉化市国民经济和社会发展第十一个五年规划纲要</a></li><li><a title="(9份试卷汇总)2019-2020学年邵阳市中考数学第六次调研试卷" href=lhd_37ab73lcep7z7sh75m1a072ie1yi3600n0b_1.html>(9份试卷汇总)2019-2020学年邵阳市中考数学第六次调研试卷</a></li><li><a title="15万方给水厂毕业设计" href=lhd_792bm6a3hb75cln2zb78_4.html>15万方给水厂毕业设计</a></li><li><a title="神武科举题目" href=lhd_13bgo2zhgk3gznb0fx9q_2.html>神武科举题目</a></li> </ul> </div> </div> <div class="ad5s" id="pin"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- njlh4 --> <ins class="adsbygoogle" style="display:inline-block;width:300px;height:600px" data-ad-client="ca-pub-8169456067121985" data-ad-slot="9273546564"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> </div> </div> <div class="footer"> <div class="main"> <a class="footer-logo"></a> <ul> <li><a href="new.html" target="_blank">精选文档</a></li> <li><a href="about.asp?id=1" target="_blank"> | 免责声明</a></li> <li><a href="about.asp?id=2">| 服务条款</a></li> <li><a href="about.asp?id=3">| 联系我们</a></li> <li><a href="javascript:go2('lhd_96xng599ez10e609mki2_3.html')">| 举报本页文档</a></li> </ul> <span>All rights reserved Powered by <a href="./"> 南京廖华答案网 </a><br /> 资料来自互联网, 有任何疑问,请联系客服:779662525☒qq.com <a href="https://beian.miit.gov.cn/" target="_blank" class="text">苏ICP备20003344号-2</a> </span></div> </div> <script src="http://cpro.baidustatic.com/cpro/ui/f.js" type="text/javascript"></script> <script type="text/javascript">function c(){if(f1.word.value==''){f1.word.focus();}else{f1.action='ss.asp';f1.submit();}return false;} function go2(t){document.f1.action='about.asp?url='+t;document.f1.target="_blank";document.f1.submit();} </script> <script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script> <script type="text/javascript"> $(window).scroll(function() { var h = $(window).height(); var top = $(window).scrollTop(); var rFixedBox = $('#pin').prev().offset(); var fixedTop = rFixedBox.top; if(top>=fixedTop+$('#pin').prev().height()) $('#pin').css({'position':'fixed','top': 0}); else $('#pin').css({'position':'static', 'top':0}); }); </script></body> </html>