DHTM is entirely a client-side technology that depends only on the browser for the display and manipulation of WebPages without any communication with the web server. It also reduces the overhead of loading new WebPages, plug-ins etc.
Unlike HTML, DHTML is used for creating dynamic WebPages involving animations, games, appearing and disappearing text and images alternatively, showing latest news tickers, creating drop down menus and rollover buttons etc.
Features of DHTML
Dynamic Changing contents and styles:
DHTML allows the positioning of an element anywhere on the WebPages or they can stack over one another. For example an image can be positioned behind the text on the WebPages using style property z-index etc.
DHTML allows downloading of fonts dynamically from the server along with the webpage. This features overcome the limitation of FONT-FAMILY property of <FONT> element where if the font is not available on the visitors system the default font is used.
Data Binding is a useful DHTML feature that allows WebPages elements (such as table cells) to bind with the data source (such as common delimited text file or database.). When the page is viewed in a web browser, the data from the database is retrieved and displayed within the element automatically.