DHTML (Dynamic HTML)
Written by Andy Sim
Last updated
DHTML, or Dynamic HTML, is an older name for web pages that change after they load, without a new request to the server. It combines HTML for the content, CSS for the style and JavaScript to make things move or react.
The term was popular in the late 1990s for menus that drop down, text that appears when you hover and forms that check themselves. Today nobody sells "DHTML", because these techniques are simply how modern websites work, and frameworks do much of it.
Examples
- A menu that opens when you hover over it.
- A form field that turns red when the email address is wrong.
- A picture that changes when you click a thumbnail.
Why it matters for your website
If a developer or an old document uses the word, it just means interactive pages. What matters is that the interaction is fast, works on phones and does not hide important content from search engines.