Module function reference
option
A reference entry for option
option option (mixed value, string text[, boolean selected]) ⇒ string
Creates an HTML option element.
Example
YASS
$html = HTML::option("uk", "United Kingdom", true)
Input: value="uk", text="United Kingdom", selected=true
Output: <option value="uk" selected>United Kingdom</option>