html - What is the real idea behind the concept of Document Object Model (DOM)? -
i beginner html & html5.
reading through following link, found terms dom , dom api. read through wikipedia, not able digest whole idea behind it.
could explain me :
- the real idea behind concept of document object model (dom)?
- how related html5?
thanks,
sen
from wikipedia:
the document object model (dom) cross-platform , language-independent convention representing , interacting objects in html, xhtml , xml documents
simply put, it's how browsers (amongst other clients) represent web documents. dom not specific html5. it's been there get-go.
dom api means how you, programmer, can interact dom. examples might adding elements dom, changing styles, , other common operations on web document.
in context of html5, there several additions dom didn't exist in previous versions of html spec, such <video>
, <audio>
elements.
Comments
Post a Comment