The Document Object Model
These methods are used to provide interaction between the user and the web page elements. The open() method opens a new document in a window or frame, while the close() method signifies the end of the document. The getElement methods are used to return various HTML element value, and the write() and writeln() methods are used to display content in the document. Now let’s look at the different properties of the Document object:
“An Image object represents an image created using the element” (Gosselin, 2011). The primary use of the Image object is to dynamically change images on a web page. Image object created with the tag and placed in the images array in the order in which they are presented. The Image object contains several properties used to manipulate the images on a web page:
The image properties are used to return or set the various properties of an image. This is what makes it possible to manipulate images, or display new images, without having to load a new web page. This is the core purpose of Dynamic HTML.
Please join StudyMode to read the full document