+ 1
DOM javascript
I didn't understand the DOM in javascript
8 Réponses
+ 3
DOM is simply a tree of objects generated from HTML. Don't over think this.
+ 2
DOM is Document Object Model to access all the elements in HTML page using JavaScript. It is like tree structure, where document object is tree and body, head, div etc are branches and leaves.
+ 1
DOM is like you calling something from the HTML document by using JavaScript. That's all I think.
0
DOM is Document Object Model, a tree of objects generated from HTML.
Where,
innerHTML is a property
The document object is the root of the DOM
0
DOM transforma todos los elementos de html y los transforma en objetos en JS para hacer uso de estos. Y para poder hacer eso se deben traer los elementos ya sean por su id o clase correspondiente.
0
innerHTML is a property
The document object is the root of the DOM
- 4
what part of it