What is DHTML?
DHTML is a short form of Dynamic Hyper Text Markup Language. This language was created with the purpose of providing interactivity to the web pages as HTML was only capable of creating static web pages. Users like interactive web pages more than normal web pages, on interactive web pages several features are programmed like changing of style on clicking or hovering. DHTML also make it possible to return a response to the user’s input without the involvement of any web server.
Syntax:
HTML
<!DOCTYPE html> < html > < head > < title >DHTML Syntax</ title > </ head > < body > < hr /> < h2 >GFG is best</ h2 > < br /> < script type = "text/javascript" > document.write("Learn anything from GFG"); </ script > </ body > </ html > |
Difference between HTML XHTML & DHTML
When it comes to web development, understanding the nuances of different markup languages is essential. In this article, we will understand the distinctions between HTML, XHTML, and DHTML—three cornerstones of the web.
Table of Content
- What is HTML?
- What is XHTML?
- What is DHTML?
- Difference Between HTML, XHTML and DHTML