• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A beginner's question

 
Sunder Ganapathy
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a Lot Eric. Could you please tell me then how DHTML is related to
XHTML and Javascript ?
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DHTML is just a term of using JavaScript to manipulate the page using CSS.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic