DOM


var oDiv=document.querySelector(“div | .className | #idName”);
document.querySelectorAll()
不兼容IE6-8

document.getElementById()
document.getElementsByClassName()
document.getElementsByTagName()
document.getElementsByName()

var oHtml=document.documentElement;
var oBody=document.body;