Documentation

Table Element - #table {}

The table element allows you to build an HTML table in Nitrogen.

Usage


   #table { rows=[
     #tablerow { cells=[
       #tableheader { text="Name" },
       #tableheader { text="Location" }
     ]},
     #tablerow { cells=[
       #tablecell { text="Rusty" },
       #tablecell { text="USA" }
     ]},
     #tablerow { cells=[
       #tablecell { text="Jon" },
       #tablecell { text="Iceland" }
     ]},
     #tablerow { cells=[
       #tablecell { text="Martin" },
       #tablecell { text="Germany" }
     ]} 
   ]}

Attributes

  • rows (One or more tablerow elements.) - Set the rows to be rendered within the table element.

See Also



View Source or Submit Corrections for this Documentation Page
Copyright © 2008-2021 Nitrogen Web Framework. Released under the MIT License.