first version of the html utility class