Document Object Model or DOM

Document Object Model or DOM

When a web page is loaded , the browser creates a Document Object Model of the page. In this model every single element of page like Tag, Class, ID, or any other element in page is converted in to object. so that methods and properties of this objects accessible.

With the Document Object Model , JavaScript gets all the power it needs to create, add and remove dynamic HTML.

According to W3C – “The W3C Document Object Model (DOM) is a platform and language-neutral interface that allows programs and scripts to dynamically access and update the content, structure, and style of a document.”

About Vijay Dhanvai

A passionate blogger by heart and mind, I have been working in this field for 7 years now. A WordPress Professional, web developer and designer who intends to guide his readers about Web Design, WordPress, Blogging, Web Development, and more.

Leave a Reply