SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast gdhanasekar's Avatar
    Join Date
    Feb 2006
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What is the difference between javascript,DOM and DHTML?

    Hi,


    I do not know the differences between javascript, DOM and DHTML. Can you guys explain this clearly?

    Regards!
    Dhanasekar.G

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,875
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    JavaScript consists of three parts - core, BOM (browser object model), and DOM (document object model).

    DHTML involves using HTML, CSS, and JavaScript in combination (with the DOM acting as the interface between them) to produce a dynamic interactive page.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    The DOM is the document object model. This provides ways for the scripting to obtain access to and work with parts of the rendered page.

    Javascript is the programming language that gives us the ability to perform many tasks relating to the DOM, and the browser itself as well.

    DHTML is an old term that relates to combining HTML and Javascript. When version 4 browsers came along, it became easier to do things like image rollovers. DHTML marks the beginning of popular javscript usage to provide different behaviours as the user interacted with the page.

    DHTML is a marketing term, designed to get people interested in the possibilities of what can be done when Javascript is used together with your HTML page. More recently, AJAX is the modern marketing term that allows people to interact with the web-server database without neading to reload the web page.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •