首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

漫笔记

2012-11-23 
随笔记parent children sibling descendant ancestor Node 1 Text 3 Document 9NodenodeName nodeValue

随笔记
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

热点排行