SitePoint Sponsor |
|
User Tag List
Results 1 to 8 of 8
Thread: XHTML vs. DHTML
-
Oct 4, 2006, 09:39 #1
- Join Date
- Aug 2006
- Posts
- 0
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
XHTML vs. DHTML
I have a pretty basic understanding of HTML and can get by using online resources. I am currently teaching myself PHP, but had goals to learn other languages afterwards.
I wanted to learn:
-CSS, XML, Javascript, MySQL
I also want to learn how to master HTML. I came across the term DHTML and thought that it would be perfect to master DHTML as, according to http://webdesign.about.com/cs/dynami...a/aa030298.htm, DHTML combines CSS, HTML, and XHTML.
Is this true? Can I, by learning "DHTML", master HTML, XHTML, CSS, and some Javascript? If so, what are some good books to learn this combo language.
Thanks,
Chris
-
Oct 4, 2006, 10:07 #2
- Join Date
- Apr 2002
- Location
- A Maze of Twisty Little Passages
- Posts
- 6,316
- Mentioned
- 60 Post(s)
- Tagged
- 0 Thread(s)
You need to master (x)html and CSS as DHTML is not actually a language. Document Object Model (DOM) is what you need to study if you want to get really good with scripting.
-
Oct 4, 2006, 10:08 #3
- Join Date
- Feb 2003
- Location
- Slave I
- Posts
- 23,424
- Mentioned
- 2 Post(s)
- Tagged
- 1 Thread(s)
DHTML isn't a combination language. It's just the name given to using JS/HTML/CSS together to achieve dynamic content on a page. You can't do DHTML without first knowing HTML, CSS, and JavaScript.
-
Oct 4, 2006, 10:10 #4
- Join Date
- Nov 2004
- Location
- Ankh-Morpork
- Posts
- 12,158
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
'DHTML' is a (rather outdated) term for 'dynamic HTML'. It's essentially HTML with JavaScript that changes the appearance – and sometimes the content – of the page. Cool kids nowadays rather talk about 'Ajax' (asynchronous JavaScript and XML), which is a form of DHTML.
For most web professionals, 'DHTML' screams '1990s'. Forget about it. There are tons of accessibility problems associated with DHTML, too.
Learn HTML properly. That's the foundation of everything on the Web. Then learn how to use CSS along with your HTML to make your pages aesthetically pleasing. JavaScript would be the next step, to add some interactive features. Parallel to that, study the topics of usability and accessibility, to give you a perspective on how to use features like CSS and JavaScript.
XML is more a data storage format, and it's not really meant for Web pages. XHTML is XML with predefined elements to mimic HTML. Look at the XHTML vs HTML FAQ to learn more, and to see that it's not really worth bothering with right now.
A server-side scripting language (like PHP) plus knowledge about relational database and SQL are the next stepping stone, which will allow you to to much more than static pages and client-side scripts.
For larger-scale 'enterprise' applications you will need to look into either Java/J2EE or Microsoft's .NET platform.Birnam wood is come to Dunsinane
-
Oct 5, 2006, 19:16 #5
- Join Date
- Aug 2006
- Posts
- 0
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks for all the replies. I figured I would have to learn them separately but just wondered if I should be learning how to use them together. I do like the idea of ditching the archaic DHTML and looking into Ajax.
Thanks again!
-ChrisChris Regnery . Web Administrator | admin@growstronger.com
Grow Smarter, Grow Faster, GrowStronger.com
The GrowStronger.com Olympics
Win money and improve your health!
-
Oct 7, 2006, 19:56 #6
- Join Date
- Oct 2005
- Location
- Brisbane, QLD
- Posts
- 4,067
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by AutisticCuckoo
-
Oct 8, 2006, 06:37 #7
- Join Date
- Nov 2004
- Location
- Ankh-Morpork
- Posts
- 12,158
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
That was what it was used for, to a large degree, in the '90s. Drop-down and flyout menus. Also, link rollovers (before CSS and :hover were available).
Birnam wood is come to Dunsinane
-
Oct 8, 2006, 07:11 #8I do like the idea of ditching the archaic DHTML and looking into Ajax.
A simpler way to think of all of this is just javascript using all the available resources and it's nothing more than that.
Bookmarks