DHTML/Difference

Advertisement


Question
Difference between html and dhtml

Answer
HTML

Here, we're dealing with markup alone--markup being the tags that make up this language:

<p>text</p>
<table><tr><td>text</td></tr></table>

HTML is nothing more than this.

--

DHTML

Now we're introducing the word "dynamic" (the 'D' in 'DHTML') into HTML.  This is not an actual language and, in a sense, is a buzzword representing dynamic HTML.  The way to make HTML dynamic is through JavaScript.  So, put simply, DHTML is HTML + JavaScript.  You'll sometimes here people claiming that CSS is a part of DHTML as well.  I disagree because of the acronym 'DHTML.' Maybe if it was called 'DHTMLCSS' I would agree.  CSS is used to style HTML and has little to do with dynamic behavior in a semantic sense.

I hope this helps, skinder.

DHTML

All Answers


Answers by Expert:


Ask Experts

Volunteer


Andrew Hoffman

Expertise

Ask me about JavaScript, CSS, HTML5/XHTML, or PHP. Chances are I'll be able to help you. I know the economy is in the tank, but if you like my answer, please consider donating a few bucks. It's like tipping your barista, if your barista served fresh code instead of coffee.

Experience

I started doing this when boy bands were still cool.

Education/Credentials
I read a lot of nerdy books to get here.

©2012 About.com, a part of The New York Times Company. All rights reserved.