文档介绍::( ) A. navig ator cumen t C. windo w D. reque st正确答案: D2. Se rvlet 可以存储数据的三个不同的作用域是()。 、会话和上下文 、会话和上下文 、响应和会话 、响应和上下文正确答案: ,假如能编译通过,运行时输出结果是()。 X <% requ etAtt ribut e("co unt", new I ntege r(0)) ; I ntege r cou nt= reque tAttr ibute ("cou nt"); %> < %=cou nt %> , 输出 0 ,但运行时抛出 Cl assCa stExc eptio n ,但运行无输出正确答案: m ystyl ,下列方式中,正确的是()。 A. <l ink r el="s tyles heet" type ="tex t/css " hre f="my style .css" ></st yle> B. <s tyle src=" mysty s"></ style > C. <styl eshee t>mys tyle. css</ style sheet > D. <css> mysty s</cs s> 正确答案: HT ML 中,插入图片的 H TML 代码是: () A. <img href ="tom if> B. <i mg sr c="to mcat. gif"> C. <ima ge sr c="to mcat. gif"> D. <im g>tom if</i mg> 正确答案: re sult. push( curCo de) 用于将产生的整数 cu rCode 放入数组变量 re sult 中。下列代码中,可以替换此代码的是()。 esult [i]= curC ode; B. re sult. add(c urCod e); C. res oin(c urCod e); D. res oncat (curC ode); 正确答案: Xml HttpR eques t对象的属性的是() 。 ready state chang eB. re adySt ate C. statu sD. re spons eJson 正确答案: HTML 中把整个文档的各个元素作为对象处理的技术是()。 A. HTML B. CSS C. Java Scrip t(脚本语言) OM 正确答案: XHTM L中,电子邮件链接的正确写法是:()。 N A. <ah ref=" http: 电子邮件地址">.. .</a> B.<a hre f="ma ilto: 电子邮件地址">.. .</a> C.<a hre f="ft p:电子邮件地址"> ...</ a> D. <ah ref=" smtp: 电子邮件地址">.. .</a> 正确答案: JSP中,要定义一个方法,需要用到以下的元素是()。 A. <% = %> B. <% %> C.< %! %> D.< %@ %> 正确答案: Query 中$("# test" )和$(" .test ”)表示的含义是:()。 A.$ ("#te st") 表示选择 id为 test 的元素$(".t est ”)表示选择 id为 te st的元素 B. $("# test" )表示选择 id为 te st的元素$(" .test ”)表示选择所用 C SS 类为 t est 的元素 C. $(" #test ")表示选择所用 CS S类为 te st的元素$(" .test ”)表示选择 id为 test 的元素 D.$( "#tes t")表示选择所用 C SS 类为 t est 的元素$( ".tes t”)表示选择所用 CSS 类为 test 的元素正确答案: B12. 在 Java Scrip t中,在页面上打印出"Hell o Wor ld" 的 J avaSc ript 语法是:() ocume ite(" Hello Worl d") B. res ponse .writ e("He lloW orld" ) C. "Hell o Wor ld" D. ("H ello World ") 正确答案: A13