#2 JavaScript Tutorial | What is Dom? | Document Object Model

In this video tutorial of JavaScript fundamentals, we will study and understand the concept of Document Object Model also known as DOM.
Document Object Model(DOM) –
The Document Object Model (DOM) defines the logical structure of documents and the way a document is accessed and manipulated.
The name “Document Object Model” was chosen because it is an “object model” is used in the traditional object oriented design sense: documents are modeled using objects, and the model encompasses not only the structure of a document, but also the behavior of a document and the objects of which it is composed. In other words, the nodes in the above diagram do not represent a data structure, they represent objects, which have functions and identity.

With the document object model, JavaScript gets all the power it needs to create dynamic HTML:
1) JavaScript can change all the HTML elements in the page
2) JavaScript can change all the HTML attributes in the page
3) JavaScript can change all the CSS styles in the page
4) JavaScript can remove existing HTML elements and attributes
5) JavaScript can add new HTML elements and attributes
6) JavaScript can react to all existing HTML events in the page
7) JavaScript can create new HTML events in the page

Python Tutorial for Beginners : https://youtu.be/QXeEoD0pB3E
Python Tutorial in Hindi : https://goo.gl/qbL1bN

NodeJS tutorial : https://youtu.be/vJEO57B05Sg

Angular Full Course : https://courses.telusko.com/learn/Angular

Check out our website: www.telusko.com
courses.telusko.com

Instagram : https://www.instagram.com/navinreddy20
Twitter : https://twitter.com/navinreddy20
Facebook:
Telusko : https://www.facebook.com/teluskolearn…
Navin Reddy : https://www.facebook.com/navintelusko

Subscribe to our other channel:
Navin Reddy : https://www.youtube.com/channel/UCxmkk8bMSOF-UBF43z-pdGQ
Telusko Hindi : https://www.youtube.com/channel/UCitzw4ROeTVGRRLnCPws-cw

You May Also Like