选择题
span中用于固定位置的属性是(A),用于控制滑动的属性是(C):
A、dock B、roll C、scroll D、deck
2、设置textarea的高度用(C):
A、height B、heighth C、line D、link
3、设置图片自适应的属性是(B):
A、prefetch B、selfadapt C、fetch D、adapt
4、确认按钮是(A):
A、confirm pare C、configure D、content
5、下面标签中没有value属性的是(C):
A、select B、input C、font D、button
6、下面没有错误的一段程序是(C):
A、<span width=”100%” height=”50%” href=”goHome();”></span>
B、<font id=”myFont” value=”文字” size=”s”></font>
C、<input type=”text” id=”myText” value=”输入框”></input>
D、<textArea width=”100%” height=”50%”></textArea>
7、下面截取字符str=?name=uname&password=pass&loginstat=true串正确的是(C)
A、str. split(“?”)[1]=
B、str. split(“&”)[0]=name=uname
C、(str. split(“?”)[1]). split(“&”)[1]=password=pass
D、((str. split(“?”)[1]). split(“&”)[1]). split(“=”)=password
8、下面动态传值正确的是(C):
A、<span width=”100%” height=”100%” href=”script:goTo(a)”>
B、<span width=”100%” height=”100%” href=”script:goTo(‘a’)”>
C、<span width=”100%” height=”100%” href=”script:goTo(“+a+”)”>
D、<span width=”100%” height=”100%” href=”script:goTo(‘“+a+”’)”>
9、下面不属于无法跳转到模板原因的是:(B)
A、没有在config中配置
B、传值太多
C、没有编写模板文件
D、模板文件路径不对
10、调用其它页面方法的方法是(A):
A、execute B、onPageChanged C、onReady D、onRefresh
填空题
获取input标签的值用(value),font标签的值用(text);
给span标签添加内容的方法包括(innerMSC)、(appen
题库—张非凡 来自淘豆网m.daumloan.com转载请标明出处.