How to handle events with DHTML

Explain how to handle events with DHTML.

A DHTML application supports numerous events, many of them quite analogous to those of a standard VB application. Events are the beating heart of any JavaScript application. For handling event in DHTML we attach event handler to HTML elements. The event handler waits until a certain event, for instance a click on a link, takes place. When it happens it handles the event by executing some JavaScript code that has been defined by us. After it has executed the code the event handlers comes to its initial state and wait for the user to fire any event. Hence to handle events in DHTML we need to register an event handler.
Difference between DHTML and HTML
Difference between DHTML and HTML - The first and foremost difference is HTML is markup language but DHTML is not a language.........
How is FontSize and Font Size differ in DHTML?
How is FontSize and Font Size differ in DHTML? - Font size is an attribute that we used in font tag, where as font-size is a style property.......
What are the attributes that make up a DHTML?
What are the attributes that make up a DHTML? - The attributes that make up DHTML are HTML, JavaScript, CSS and DOM. These are explained below as:......
Post your comment