Abstract: A system and method are disclosed for creating an interactive web page. A plurality of objects are defined which are configured to have associated states. The associated states include a visible state and a hidden state. An object in the visible state is displayed and an object in the hidden state is not displayed. Subsets of objects are associated together in structures so that the state of any object within the structure is dependent on the states of other objects within the structure. The plurality of objects and the structures are placed into an hierarchy in a way which causes certain objects and structures in the hierarchy to be layered on top of other objects and structures in the hierarchy. Behaviors are associated with the objects, and each behavior includes an associated event, an associated action, and an associated target object. Each behavior is arranged so that when the associated event occurs, the associated action is performed on the associated target object.