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 HTMLXHTML, 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

Similar Reads

What is HTML?

HTML is a short form of Hyper Text Markup Language. It is a language that is used in creating web apps and websites. HTML is known as a markup language that helps in creating web applications so it is a markup language. The main purpose of HTML is to create web pages or websites which are static. It can only be used in front-end development means it is not used for back-end functionalities like sending or receiving data. HTML links are used to connect one web page to another....

What is XHTML?

...

What is DHTML?

XHTML is a short form of Extensible Hyper Text Markup Language. This can be considered as a combined language that uses features from both HTML and XML. All the tags and properties of HTML are inherited in XHTML and it is a bit strict when comes to opening and closing of tags, case sensitivity, and also error finding. It is a good language but it is not very flexible so developers did not show much interest in this language so it is not used as much as HTML for making web pages and websites....

Difference Between HTML, XHTML and DHTML

...