Objects, Properties and Methods in VBScript

An object is a unique item. An object has properties and methods. The properties contain values which apply to the object. Methods are functions which can be applied to the object and the properties of that object. In the example below bgColor is a property of the document object and write is a method executed on the document object.

document.bgColor = "#FF0000";
document.write "This is written to the screen";