随笔记
parent children sibling descendant ancestor
Node 1; Text 3; Document 9;
Node nodeName nodeValue nodeType 元素类型 节点类型 元素 1 属性 2 文本 3 注释 8 文档 9
childNodes firstChild lastChild nextSibling perviousSibling parentNode removeChild() replaceChild() appendChild() insertBefore()
Element setAttribute() getAttribute() removeAttribute()
HttpElement id style title class(className) lang dir
document.implementation.hasFeatrue("html","1.0");
typeof == number,string,object,function,boolean,undefined.
(variable instaceof "xxx") return true|flase
variable instaceof
CSS0 position absolute relative background-color top left width height
visibility hidden visible enable disable| display none
Event stopPropagation() preventDefault() addEventListener() captures
standard Event bubbles(boolean) currentTarget cancelable(boolean) eventPhase