html string generation