B.50
C.60
D.100
A、4.4 kN/m
B、5.68 kN/m
C、6.04 kN/m
D、5.48 kN/m
A、C30
B、31 MPa
C、C31
D、29 MPa
A、使用<script> 标签将JavaScript 代码嵌入到网页中<br> B、放置在由<style> 标记的href 属性指定的外部文件中<br> C、放置在HTML标签以on开头的属性即事件处理程序中<br> D、放置在由<script> 标记的src 属性指定的外部文件中<br><p class="answer"></p><br><br><strong style="font-size:16px;">JavaScript常用的输出语句随堂测验</strong><br><br>1、如何在警告框中写入 "Hello World"?<br> A、alertBox="Hello World"<br> B、msgBox("Hello World")<br> C、alert("Hello World")<br> D、alertBox("Hello World")<br><p class="answer"></p><br><br><strong style="font-size:16px;">JavaScript实现商品详情展示随堂测验</strong><br><br>1、在HTML中嵌入JavaScript,应该使用的标记是( )<br> A、〈script〉〈/script〉<br> B、〈head〉〈/head〉<br> C、〈body〉〈/body〉<br> D、〈JS〉〈/JS〉<br><p class="answer"></p><br><br>2、在以下的 HTML 中,哪个是正确引用外部样式表的方法?<br> A、<style src="mystyle.css"><br> B、<link rel="stylesheet" type="text/css" href="mystyle.css"><br> C、<stylesheet>mystyle.css</stylesheet><br> D、<css>mystyle.css</css><br><p class="answer"></p><br><br>3、在 HTML 文档中,引用外部样式表的正确位置是?<br> A、文档的末尾<br> B、文档的顶部<br> C、<body> 部分<br> D、<head> 部分<br><p class="answer"></p><br><br>4、外部脚本必须包含 <script> 标签<br><p class="answer"></p><br><br><strong style="font-size:16px;">第2章JavaScript语言基础-JavaScript 数据类型</strong><br><br><strong style="font-size:16px;">JavaScript 数据类型-数值型随堂测验</strong><br><br>1、var num = 3.456789; var n=num.toFixed(3); 请问n的值是?<br> A、3<br> B、3.456<br> C、3.457<br> D、3.458<br><p class="answer"></p><br><br><strong style="font-size:16px;">JavaScript 数据类型-字符串随堂测验</strong><br><br>1、JavaScript字符串:"mypass ' ,这种写法对吗?<br><p class="answer"></p><br><br><strong style="font-size:16px;">JavaScript 数据类型-布尔型随堂测验</strong><br><br>1、JavaScript在必要的时候将true转化为1,将false转化为0。<br><p class="answer"></p><br><br><strong style="font-size:16px;">JavaScript数据类型-特殊数据类型随堂测验</strong><br><br>1、JavaSript中的关键字null是一个特殊的值,它表示值为空,用于定义空的或者不存在的引用。<br><p class="answer"></p><br><br><strong style="font-size:16px;">复合数据类型-json 的遍历随堂测验</strong><br><br>1、JSON 是用于存储和传输数据的格式。<br><p class="answer"></p><br><br><strong style="font-size:16px;">数据类型的自动转换随堂测验</strong><br><br>1、JavaScript表达式:"5" - 0=5 正确?<br><p class="answer"></p><br><br><strong style="font-size:16px;">typeof的用法随堂测验</strong><br><br>1、typeof运算符把类型信息用字符串返回。<br><p class="answer"></p><br><br><strong style="font-size:16px;">第2章JavaScript语言基础-JavaScript变量和函数</strong><br><br><strong style="font-size:16px;">JavaScript 变量随堂测验</strong><br><br>1、JavaScript变量名称不能是保留字<br><p class="answer"></p><br><br><strong style="font-size:16px;">JavaScript函数作业1</strong><br><br>1、编写一个函数,在页面上输出1-1000之间所有能被2,3,5整数的整数,并要求每行显示5个这样的数。<br><p class="answer"></p><br><br><strong style="font-size:16px;">第3章 常用内置对象-常用属性与方法</strong><br><br><strong style="font-size:16px;">新建 JavaScript 数组随堂测验</strong><br><br>1、可以用字面量方式声明数组如下:var arr = ["one", "two", "three"];<br><p class="answer"></p><br><br><strong style="font-size:16px;">数组对象的常用属性与方法随堂测验</strong><br><br>1、以下代码运行后的结果是输出( ) var a=[1, 2, 3]; console.log(a.join());<br> A、123<br> B、1,2,3<br> C、1 2 3<br> D、[1,2,3]<br><p class="answer"></p><br><br><strong style="font-size:16px;">定时器函数setInterval()与setTimeout()随堂测验</strong><br><br>1、setInterval(fn1,1000) 只会调用一次 fn1。<br><p class="answer"></p><br><br><strong style="font-size:16px;">日期对象的应用:动态时钟的实现、考试倒计时的实现、节日倒计时的实现随堂测验</strong><br><br>1、Date 对象的 getMonth() 获取到的值比实际月份小1<br><p class="answer"></p><br><br><strong style="font-size:16px;">第3章 常用内置对象-字符串及应用于表单</strong><br><br><strong style="font-size:16px;">随机点名器的实现随堂测验</strong><br><br>1、innerHTML 属性用于设置或返回指定标签之间的 HTML 内容。<br><p class="answer"></p><br><br><strong style="font-size:16px;">字符串对象常用的属性与方法随堂测验</strong><br><br>1、1. var str="hello world"; document.write(str.indexOf("llo")); 输出结果为<br> A、1<br> B、2<br> C、3<br> D、4<br><p class="answer"></p><br><br><strong style="font-size:16px;">标题栏滚动显示效果随堂测验</strong><br><br>1、var str="hello world"; document.write(str.substr(3,5)); document.write("<br>"); document.write(str.substring(3,5)); 输出结果为<br> A、lo wolo<br> B、lolo wo<br> C、llollo<br> D、lowolo<br><p class="answer"></p><br><br><strong style="font-size:16px;">form 对象-表单随堂测验</strong><br><br>1、表单中只能包含表单控件,而不能包含其他诸如图片之类的内容。<br><p class="answer"></p><br><br><strong style="font-size:16px;">表单及其控件的访问随堂测验</strong><br><br>1、输入框中maxlength属性表示输入框中允许输入字符的最大数。<br><p class="answer"></p><br><br><strong style="font-size:16px;">input 控件常用方法随堂测验</strong><br><br>1、元素调用blur()方法可以让光标离开当前元素上<br><p class="answer"></p><br><br><strong style="font-size:16px;">下拉列表框的应用随堂测验</strong><br><br>1、selectedIndex 属性可设置或返回下拉列表中被选选项的索引号。<br><p class="answer"></p><br><br><strong style="font-size:16px;">表单简单验证随堂测验</strong><br><br>1、下列代码能否验证oValue变量中的字符串长度必须是6~18位? if(oValue.length > 18 || oValue.length < 6){ //字符串长度必须是6~18位 oUsername_span.innerHTML = "长度应为6~18个字符"; oUsername_span.style.color = "red";//设置颜色为红色<br><p class="answer"></p><br><br><strong style="font-size:16px;">第3章 常用内置对象-综合案例</strong><br><br><strong style="font-size:16px;">正则表达式实现表单严谨验证随堂测验</strong><br><br>1、正则表达式规则{}指定重复范围,如:a{3,5} 可表示 : aaaaa,aaaa,aaa<br><p class="answer"></p><br><br><strong style="font-size:16px;">综合案例:计算器功能实现随堂测验</strong><br><br>1、String对象的方法不包括( )。<br> A、charAt()<br> B、substring()<br> C、toUpperCase()<br> D、length()<br><p class="answer"></p><br><br><strong style="font-size:16px;">案例拓展:计算器功能拓展随堂测验</strong><br><br>1、对字符串str="welcome to china"进行操作处理:str.substring(1,5)返回值是"elcom"<br><p class="answer"></p><br><br><strong style="font-size:16px;">体彩 11 选 5 的实现方案1随堂测验</strong><br><br>1、var d=Math.floor(5.1); d的输出结果:<br> A、5.5<br> B、5<br> C、6<br> D、5.1<br><p class="answer"></p><br><br><strong style="font-size:16px;">体彩 11 选 5 的实现方案2随堂测验</strong><br><br>1、某网页开发员想在MainForm.htm页面上的一个名为SystemTime的文本框中显示系统的当前时间,编写了如下JavaScript函数,为了使显示的时间每隔几分钟刷新一次,请问在空白出1因该补充的代码是 <script language="javascript"> function displaytime() { var time = new Date(); var hour = time.getHours(); var minute = time.getMinutes(); document.mainform.systemtime.value=hour+"点"+minute+"分"; ____________________; } </script>
A、setTimeout("displaytime()",60000);
B、setTimeout("displaytime()",6000);
C、setTimeout("displaytime()",60);
D、setTimeout("displaytime()",1);
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!