What is HTML?
It is a markup language for creating web pages. HTML is abbreviated from HyperText Markup Language, where markup language is a set of markup tags. These tags tell the browser how to display the text.
What is DHTML?
There are four parts to Dynamic HTML:
1 Document Object Model (DOM) (definition)
3 Cascading Style Sheets (CSS)
Document Object Model (DOM): –
The DOM is what allows you to access any part of your Web page to change it with Dynamic HTML. Every part of a Web page is specified by the DOM and using its consistent naming conventions you can access them and change their properties.
Cascading Style Sheets: –
CSS is used in DHTML to control the look and feel of the Web page. Style sheets define the colors and fonts of text, the background colors and images, and the placement of objects on the page. Using scripting and the DOM, you can change the style of various elements.
XHTML is used to create the page itself and build the elements for the CSS and the DOM to work on. There is nothing special about XHTML for DHTML – but having valid XHTML is even more important, as there are more things working from it than just the browser.