DOM – Document Object Model


DOM(Document Object Model.) is a platform and language independent object model. It can be used by any programming language like JavaScript, VBscript. DOM defines a standard object model for accessing/representing documents like HTML or XML. This will allow scripts to dynamically access and update the content, style and structure of documents.

DOM has 3 different levels

  • Core DOM – standard model for structured document
  • XML DOM – standard object model for XML document.
  • HTML DOM – HTML document – defines object & properties of all HTML elements and methods to access them.

DOM represents its documents as a tree structure with elements, attributes and nodes. Also DOM supports navigations in any directions of the tree structure.

Advertisements

Tags: , , , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: