The Document Object Model
DOMKayla JohnsonIT/23803/14/2015Beth MabeeDOMThe Document Object Model (DOM) is a platform and language interface that will allow for manipulation of the page content, structure, and the style of HTML, XHTML, and XML documents. The Document Object Model is a application programming interface (API) for documents. The DOM is really nice to use because you can virtually change, delete, add, alter, manipulate, etc. anything within the document. The DOM makes programming an easier process because it organizes the structure of the document in an easily readable format. Elements such as input fields, paragraphs, images, etc. are all organized within a structure. The DOM is separated into 3 different levels: Core DOM, XML DOM, and HTML DOM. The Core DOM is the standard for any type of structured document. The XML DOM is the standard model for XML documents. The HTML DOM is the standard model for HTML documents. One type of object that is used in the DOM is the “document” object. When a document is loaded into a web browser is becomes a document object. The document object will provide access to the properties and methods associated with all node objects. There are over 30 properties and methods associated with this type of object. One of them is the document.createElement() which creates an element node. There is the document.createTextNode() which creates a text node. And there is also the document.importNode() which will import a node from another document. Another object that is part of the DOM is the “object” object. The object object is represented by the html tag . The reason I chose this object to describe is because you can use the document object to call upon the object object simply by typing this line of code:var x = document.createElement(“OBJECT”);This object has many different properties that can be used such as align, border, code, declare, form, height, name, type, and width. Overall, the Document Object Model makes programming an easier and faster process and you can organized your document in a readable format. ReferencesHTML DOM Object Object. (n.d.). Retrieved March 15, 2015, from
Essay About 14/2015Beth Mabeedomthe Document Object Model And Document Object Model
Essay, Pages 1 (351 words)
Latest Update: July 4, 2021
//= get_the_date(); ?>
Views: 74
//= gt_get_post_view(); ?>
Related Topics:
14/2015Beth Mabeedomthe Document Object Model And Document Object Model. (July 4, 2021). Retrieved from https://www.freeessays.education/14-2015beth-mabeedomthe-document-object-model-and-document-object-model-essay/