DOM

Methods

Coordination of Standards

Notice that the DOM style syntax is exactly parallel to CSS:

DOMstyle . backgroundColor = "#ffffff";
CSSstyle = "background-color : #ffffff"

This similarity is meaningful: DOM and CSS have been developed to work together ~ and all of the styles that are available to us with CSS are available to us with DOM.

Next >


< Previous

[Page Top]

Introduction to DOM, by Dr Sam
copyright | contact
published by OxfordU.net

[An alternative, straight-text version is also available.]