DOM操作
题目
- DOM是哪种基本的数据结构
- DOM操作的常用API有哪些
- DOM及诶单的attr和property有何区别
知识点
- DOM本质
- DOM节点操作
- 获取DOM
- prototype
- Attribute
- DOM结构操作
- 新增节点: document.creatElement();innerHTML
- 获取父元素
- 获取子元素 childNodes 和 children 的区别, childNodes 事无巨细全部返回
- 删除节点
BOM操作
题目
- 如何检测浏览器的类型
- 拆解url的各部分
知识点
1 navigator
var ua = navigatoruserAgent
2 screen
3 location
console.log(locationg.href);
console.log(locationg.prorocol);
console.log(locationg.pathname);
console.log(locationg.search);
console.log(locationg.hash);
4 history
historyback();
historyforward();