DHTML Introduction:

  • DHTML stands for Dynamic Hyper Text Markup Language.
  • DHTML is totally different from HTML. 
  • The DHTML application was introduced by Microsoft with the release of the 4th version of IE (Internet Explorer) in 1997.
  • The browsers which support the dynamic HTML are some of the versions of Netscape Navigator and Internet Explorer of version higher than 4.0. 
  • DHTML is not a language, but it is a set of technologies of web development.
  • It is the combination of HTML, CSS, JS, and DOM.
  • A page which is created by a user using the HTML, CSS, DOM, and JavaScript technologies called a DHTML page. 
  • Many times DHTML is confused as it is same as HTML but it is not. 
  • DHTML has the ability to change a webpages look, content and style.
Advantages:
  1. Size of the files are small in compared to other media like Flash or Shockwave, and it downloads faster. 
  2. It is supported by big browser manufacturers like Microsoft and Netscape. 
  3. Highly flexible and easy to make changes. 
  4. Users do not need any extra requirements or special software to view it. 
  5. It has more advanced functionality than HTML.
Disadvantages:

  1. It is not supported by all the browsers. 
  2. Learning of DHTML requires a lot of knowledge of such a languages like HTML, CSS, JS, etc should be known to the designer before starting with DHTML which is a long and time-consuming in itself. 
  3. Implementation of different browsers are different. So if it worked in one browser, it might not necessarily work the same way in another browser.

Difference between HTML and DHTMl:

  1. HTML is a markup language while DHTML is a collection of technologies. 
  2. HTML is used to create static webpages while DHTML is capable of creating dynamic webpages. 
  3. DHTML is used to create animations and dynamic menus but HTML not used. 
  4. HTML sites are slow , whereas DHTML sites are faster. 
  5. DHTML needs database connectivity but not in case of HTML. 
  6. Files in HTML are stored using .html or .html extension while DHTML uses .dhtml extension.