The Document Object Model (DOM), Part III: A Final Word | WebReference

The Document Object Model (DOM), Part III: A Final Word


The Document Object Model (DOM), Part III (8)

A Final Word

In this column we showed you two causes for mismatches between an HTML document and its DOM representation. The first cause is an illegal HTML constructs. We picked positioning a list element within a paragraph element as an example for such a construct. The other cause is a bug in Internet Explorer's implementation of the DOM. We explained in detail these two cases and we sketched the original HTML's DOMs as well as the actual DOMs. We explained how the browser automatically corrects illegal HTML documents. We also showed how to workaroud the bug. We presented four new DOM sketches that should further contribute to your understanding of the DOM structure and its synthesis from a document. In this column you learned:

http://www.internet.com

Produced by Yehuda Shiran and Tomer Shiran

Created: June 21, 1999
Revised: July 10, 1999

URL: http://www.webreference.com/js/column42/final.html