1. A method of processing Hypertext Markup Language (HTML) elements using objects, comprising the steps of: defining object classes for each of said elements of said HTML; creating an HTML template, said HTML template having a statement that defines one of said HTML elements; identifying the object class associated with said one of said HTML elements; creating an instance of said object class, said instance containing data and methods for processing said one of said HTML elements; and transmitting a message to said instance to perform an operation using the data and methods of said instance.