buildHtml return string