January 17, 201115 yr Hey, I have a web technology exam coming up soon, which is going to exam us on some of these topics: HTML/DHTML/XHTML CSS JavaScript > jQuery PHP AJAX The DOM. Now that last one, the DOM, its the only one im abit iffy on understanding. I have read plenty of websites but they all go on abit. I know you have to use window.status, document.getelementbyid stuf. But can someone explain to me, simpily, sort of a no waffle explanation of what it is, and why it is used? Thanks!
January 18, 201115 yr There's some good youtube videos explaining it if I recall correctly, but the DOM basically is how the browser interprets the code which it's receiving. I'm no expert, but it essentially forms the tags into a tree (or trees) which it goes through in a linear fashion. For example in <div><b></b></div>, the B tag would be a child of the DIV tag.... and so on. I don't know how I would explain it concisely though, other than the means by which the browser decodes your code in order to display it.
Create an account or sign in to comment