This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes A beginner's question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "A beginner Watch "A beginner New topic
Author

A beginner's question

Sunder Ganapathy
Ranch Hand

Joined: Apr 01, 2003
Posts: 120
What is the difference between XHTML, JavaScript and _JavaScript ?
If all the three are meant to validate user input, then why three different technologies?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
XHTMLor Extensible Hypertext Markup Language, is the successor to HTML. It is often used in conjunction with CSS and JavaScript.

They have nothing really to do with validating user input. XHTML is a "type" of XML document to display data. JavaScript is used to manipulate the page and can be used to validate information if coded to do so.

I think you got the _JavaScript from something that added it to get around a filter.

Eric
Sunder Ganapathy
Ranch Hand

Joined: Apr 01, 2003
Posts: 120
Thanks a Lot Eric. Could you please tell me then how DHTML is related to
XHTML and Javascript ?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
DHTML is just a term of using JavaScript to manipulate the page using CSS.

Eric
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: A beginner's question
 
Similar Threads
Preparing for SCJP 5.0
find the heavier ball
How Unreachable Object Becomes Reachable again
WA #1.....word association
recognize phone calls number