body

inline suspend fun HTML.body(classes: String? = null, crossinline block: suspend BODY.() -> Unit)

Open a <body> tag with support for suspension calls.

Parameters

classes

Classes to apply to the body tag in the DOM.

block

Callable block to configure and populate the body tag.