Finishing implementation of GetHTMLText, includes separate definition for HTML objects.