M
mk834tt
Beginner here.
Core DOM and HTML DOM. (I'm not sure I've even phrased these
questions correctly. Please feel free to read between the lines.)
The core DOM contains getAttribute() and setAttribute() and is
designed to work with general documents. It "should" work with HTML
if implemented. Correct?
HTML DOM works only with HTML documents. It does not use accessor
methods but allows direct access to parameters. Correct? (as in
obj.className = "popup")
It was suggested that it is safer, more universal, to use HTML DOM and
the direct access construct in HTML pages. Correct?
A suggestion to use core DOM methods exclusively (which is nice and
regular - I'd like to) is not a good idea if you want to support
multiple browsers. Correct?
Thanks
Core DOM and HTML DOM. (I'm not sure I've even phrased these
questions correctly. Please feel free to read between the lines.)
The core DOM contains getAttribute() and setAttribute() and is
designed to work with general documents. It "should" work with HTML
if implemented. Correct?
HTML DOM works only with HTML documents. It does not use accessor
methods but allows direct access to parameters. Correct? (as in
obj.className = "popup")
It was suggested that it is safer, more universal, to use HTML DOM and
the direct access construct in HTML pages. Correct?
A suggestion to use core DOM methods exclusively (which is nice and
regular - I'd like to) is not a good idea if you want to support
multiple browsers. Correct?
Thanks