Jump to content

[SOLVED] HTML DOM question


jumpenjuhosaphat

Recommended Posts

How can it be dynamic without it changing?

 

Indeed. In light of the first question, if you want to get technical, you are using the DOM (Document Object Model) in some sense simply by generating an HTML page. However, the dynamic aspect of anything requires that something act upon that structure.

Link to comment
Share on other sites

How can it be dynamic without it changing?

 

I don't get it, without what changing?

 

HTML DOM, as I understand it(which is very limited, that's why I'm asking), is a technology defined by the w3 consortium that is browser and platform independent, and doesn't depend on any other technologies to make use of it.  In other words(my understanding), it is an extension to HTML that allows your document to be dynamic.

 

So, to reiterate my question, am I understanding that correctly?

Link to comment
Share on other sites

Yes, you are correct in your definition of the DOM. This page on W3Schools gives a good overview of what the DOM itself is, however, in and of itself, it does nothing. It gives you a foothold to be able to use other scripting languages to manipulate the DOM and create dynamic effects. So, if you create an HTML page, as I stated before, you are indeed using the DOM; however, this does not give you any dynamic capabilities in and of itself.

 

Javascript (and other client side scripting languages) then can make use of the DOM to alter the appearance of object on the page. It is, in fact, the scripting languages that provide the dynamic element of the page.

 

Does that help?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.