Module function reference

head

A reference entry for head

Module function · HTML

head head (string content) ⇒ string

Wraps content in a head element.

Example

YASS
$html = HTML::head("<title>Welcome</title>")

Input: <title>Welcome</title>

Output: <head><title>Welcome</title></head>