HTML5 选择题

1、下列哪些属于webstorage()。A.localStorageB.CacheStorageC.CookieSotrageD.Session2、WebStorage... 1、下列哪些属于webstorage ( )。
A. localStorage B.CacheStorage
C.CookieSotrage D. Session
2、WebStorage存储的是什么类型的数据( )。
A. String B. Double C. Integer D. 以上都是
3、WebStorage 如何存储数据(选项中的webstorage代表任意存储方式)( )。
A: webstorage.add(key,value)
B: webstorage.put(key,value)
C: webstorage. key = value
D: webstorage[key]=value
4、WebStorage 如何读取数据(选项中的webstorage代表任意存储方式)( )。
A: webstorage.get(key) B: webstorage.pull(key) C: webstorage. key D: webstorage[key]
5、WebStorage 想要在页面间共享值应该用哪个? ( )
A:localStorage B:CacheStorage C:CookieSotrage D:Session
6、下列选项中,在打开页面时就会载入的方法是( )
A.onclick B.onmouseover C.onload D.onpressbutton
7、下列哪些不属于css选择器?: ( )
A: .class B: #id C:$tag D:[attr=value]
8、下列选择器优先级最高的是? ( )
A: .class B: #id C:$tag D:[attr=value]
9、下列代码代表的是哪个: ( )
A: div B:span C:a D:nobr
<div>
< span id=”sp”>
< nobr class=”no”></nobr>
</span>
<a id=”sp” class=”noo”></a>
</div>
<style> div .noo {}</style>
10、使用IndexedDB如何开启一个事物处理( )
A.db.transaction([students','taecher']);
B. db.startTransaction([students','taecher']);
C. db.StartTransaction([students','taecher']);
D. db.start([students','taecher']);
展开
 我来答
肇事老司机
2017-06-02 · TA获得超过432个赞
知道小有建树答主
回答量:353
采纳率:81%
帮助的人:103万
展开全部
1、A
2、A
3、没有正确答案,应该是setItem
4、没有正确答案,应该是getItem
5、A
6、C
7、C
8、B
9、C
10、A
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式