HTML is the standard markup language for creating web pages and provides basic structure but is less strict than XHTML. XHTML follows XML rules requiring proper nesting and closing of all elements to be more consistent. DHTML is not a separate language and uses HTML, CSS, and JavaScript to enable dynamic and interactive web pages by changing elements without reloading the entire page through client-side scripting.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
267 views
Comparison of HTML, XHTML, DHTML
HTML is the standard markup language for creating web pages and provides basic structure but is less strict than XHTML. XHTML follows XML rules requiring proper nesting and closing of all elements to be more consistent. DHTML is not a separate language and uses HTML, CSS, and JavaScript to enable dynamic and interactive web pages by changing elements without reloading the entire page through client-side scripting.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
4.
Compare HTML, XHTML and DHTML
Here's a brief comparison of HTML, XHTML, and DHTML:
1. HTML (Hypertext Markup Language):
- HTML is the standard markup language used for creating web pages. - It is relatively lenient in terms of syntax and does not require strict adherence to rules. - HTML documents can be displayed in web browsers, and it provides the basic structure for web content.
2. XHTML (Extensible Hypertext Markup Language):
- XHTML is a stricter and more structured version of HTML, conforming to XML rules. - It enforces well-formedness and requires elements to be properly nested and closed. - XHTML aims to make web content more consistent and compatible with XML-based applications.
3. DHTML (Dynamic Hypertext Markup Language):
- DHTML is not a separate language but a combination of technologies, including HTML, CSS, and JavaScript. - It enables the creation of interactive and dynamic web pages by using client-side scripting. - DHTML allows elements on a web page to change, move, or respond to user interactions without the need to reload the entire page.