At first glance, people look at web pages as though they are pages in a book, consisting of static text and images. It soon becomes apparent that there are things with which you can interact, such as links and forms. In fact, pages aren't static "paintings," but are actually built up out of parts.
Let's take a "real world" example of a radio, which is made up of parts:Each of these parts has properties which describe it, and methods, or things that it can do. For example:
Object | Properties | Methods |
---|---|---|
Volume dial | minimum setting maximum setting |
Set volume to a specified level |
Power Supply | voltage | Turn on Turn off |
Index | DOM Review (2) |