140Part IIJavaScript TutorialExercises1.Explain the difference between (Database web hosting) a document
140Part IIJavaScript TutorialExercises1.Explain the difference between a document image object and the memory type of imageobject. 2.Write the JavaScript statements needed to precache an image file named jane.jpgthatlater will be used to replace the document image defined by the following HTML:
3.With the help of the code you wrote for question 2, write the JavaScript statement thatreplaces the document image with the memory image. 4.Backward-compatible document image objects do not have event handlers for mouseevents. How do you trigger scripts needed to swap images for mouse rollovers? 5.Assume that a tableelement contains an empty table cell (td) element whose ID isforwardLink. Using W3C DOM node creation techniques, write the sequence of scriptstatements that create and insert the following hyperlink into the table cell: Next Page …