Document Object Model(DOM)

Check the updated DevOps Course.

Prashant Lakhera
Devops World
Mar 11, 2017

--

Course Registration link:

Course Link:

YouTube link:

DOM act as a interface between JavaScript and HTML/CSS code on webpage

Most Modern Web browsers will construct the DOM which basically means storing all the HTML tags as Javascript objects

To check the DOM of any website

Go to console(In Chrome Browser → Right Click on WebPage → Inspect → Console)and type document

document

This will return the HTML text of the page

To see actual objects

console.dir(documents)

console.dir(documents)

As you can see DOM is enormous.

--

--

Prashant Lakhera
Devops World

AWS Community Builder, Ex-Redhat, Author, Blogger, YouTuber, RHCA, RHCDS, RHCE, Docker Certified,4XAWS, CCNA, MCP, Certified Jenkins, Terraform Certified, 1XGCP