What is `generateHtml`?