简介

dom类库的继承关系:

  1. EventTarget
  2. node document
  3. CharacterData
  4. Text
  5. Comment
  6. Element
  7. HTMLElement
  8. HTMLHeadElement
  9. body
  10. title
  11. ...etc
  12. attr