Module function reference
table
A reference entry for table
table table (list headers, list rows[, map attributes]) ⇒ string
Creates a simple HTML table.
Example
YASS
$html = HTML::table(["Name", "Age"], [["Jamie", 35]])
Input: headers=["Name", "Age"], rows=[["Jamie", 35]]
Output: <table><thead><tr><th>Name</th><th>Age</th></tr></thead><tbody><tr><td>Jamie</td><td>35</td></tr></tbody></table>