What is the full form of DOM?

DOM stands for Document Object Model.

Short Form DOM
Full Form Document Object Model
Category Computing » Internet
Country Worldwide
Type Acronym

What is DOM?

The Document Object Model (DOM) is a model of the World Wide Web that allows developers to create and interact with websites. The DOM model is based on the idea that all websites are made up of small pieces called documents.

A document in the DOM model is simply a collection of tags, attributes, and content. A tag is simply a piece of HTML code, for example

h1: Hello World

. An attribute is just a name that you give to an element, for example height=”30″. And content is just what you would expect it to be – text, images, etc.

When you create a document in the DOM model, you can access all of its tags and attributes using the same methods that you use to access tags and attributes in HTML code. For example, to get the value of an attribute named height in a document called myDocument, you would use the following code:

var height = myDocument.height;

This code would return the value 30 for the attribute named height in the myDocument document. You can also change the value of an attribute using this same technique:

myDocument.height = 50;

This code would set the value