respondHtml

suspend fun ApplicationCall.respondHtml(status: HttpStatusCode = HttpStatusCode.OK, block: HTML.() -> Unit)

Responds to a client with an HTML response using the specified block to build an HTML page. You can learn more from HTML DSL.