1. A computer comprising a processor; a memory; and computer executable instructions executable on the processor from the memory wherein the computer executable instructions comprise: executing an object oriented program; creating an object representing an element in a tag-based display language, wherein the object is created by the object-oriented program and comprises a key value pair representing at least one attribute for the object and one style for the object; maintaining at least three states, each one of the states indicating if the object is available on a browser; monitoring the state of the object; and updating the state of the object upon an occurrence of an event that moves the object to a different one of the states; and generating a string of code in the tag-based display language from the object wherein the string is formatted for a particular browser.