implemented html codes generator