DHTML File Format
DHTML files are plain text files that contain DHTML code to implement the dynamic behaviour of the web elements.
The DHTML Document object Model (DOM) is based on the HTML DOM that is a tree-structure with elements, attributes and text as shown in the following image.
This code writes the text “Hello World” to output in browser.
It occurs when the user aborts the page or media file loading.
It occurs when the user leaves an HTML object.
It occurs when the user changes or updates the value of an object.
It occurs or triggers when any user clicks on an HTML element.
It occurs when the user clicks on an HTML element two times together.
It occurs when the user focuses on an HTML element. This event handler works opposite to onblur.
It triggers when a user is pressing a key on a keyboard device. This event handler works for all the keys.
It triggers when the users press a key on a keyboard. This event handler is not triggered for all the keys.
It occurs when a user released a key from a keyboard after pressing on an object or element.
It occurs when an object is completely loaded.
It occurs when a user presses the button of a mouse over an HTML element.
It occurs when a user moves the cursor on an HTML object.
It occurs when a user moves the cursor over an HTML object.
It occurs or triggers when the mouse pointer is moved out of an HTML element.
It occurs or triggers when the mouse button is released over an HTML element.
It is used by the user to reset the form.
It occurs after selecting the content or text on a web page.
It is triggered when the user clicks a button after the submission of a form.