Objects:
Objects are how we refer to the pieces of a webpage. The webpage (or document) is an object, as are tables, pictures, forms, links, and buttons, etc.
All these objects have properties that can be manipulated and tracked.
Methods:
Some objects also have things that they can do - we refer to these possible actions as "methods" - for instance, by using the document object,
we can open a new page (or document) using the document.open() method.
Events:
An event is an occurrence that we tag with a name. The most commonly used (and best examples) are the onMouseOver and onMouseOut events.
They are exactly what they sound like - events that track whether the mouse is over an object or not.
|