Module function reference
body
A reference entry for body
body body (string content[, map attributes]) ⇒ string
Wraps content in a body element.
Example
YASS
$html = HTML::body("<p>Hello</p>", ["class" => "page"])
Input: content="<p>Hello</p>", attributes=["class" => "page"]
Output: <body class="page"><p>Hello</p></body>