HTML elements are passed in specialized object into page constructor