元素属性的分类
offsetTop offsetLeft offsetHeight offsetWidth
clientTop clientLeft clientHeight clientWidth
scrollTop scrollLeft scrollHeight scrollWidth
parentElement children等节点属性
onmouseover onmouseout 等鼠标操作
event.type 事件类型
event.target 目标对象
鼠标点击后才会触发
event.clientX event.clientY
event.pageX event.pageY
console.log()省略window window.location().hash()地址栏#后面的内容 window.location().host() 主机名及端口号
window.location.href 跳转 window.location.reload()页面刷新 window.history.back() window.history.forword()
window.navigator 浏览器的嗅探