View Full Version : XHTML vs DHTML


Ambient Decay
16th May 2007, 10:39 AM
Just out of morbid curiosity, Which do you folks prefer DHTML or XHTML when coding? Why do you prefer it and how would you rate it in ease of learning compared to the less favorable.

darnoldy
17th May 2007, 02:46 AM
Which do you folks prefer DHTML or XHTML when coding?Its not really useful to talk of DHTML these days (though many people still do) as it refers to the combination of HTML 3.0 + CSS + Javascript. It is what became adopted as HTML 4.0 several years ago.

XHTML is HTML 4.0 + XML... so XHTML includes what used to be called DHTML.

One should -- especially if one is at the beginning of their carreer--school themselves to write html 4.0 strict, to not get in the habit of using depricated tags, to think about symantically-correct tags, and to pay attention to capitalization rules.