DOM

Methods

DOM Style Syntax

Look again, now more closely, at the DOM syntax for the style:

style.backgroundColor = "#ffffff";

It resembles the following BOM example, doesn't it?

bgColor="#ffffff";

Next >


< Previous

[Page Top]

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

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