Skip to main content

Table

Overview

Table tag allows you to display table and filled it with data. It only accepts plain HTML.


Parameters

ParameterParameterValid BlocksRequired
Style SetsOptional list of Email Style blocks to apply to this blockText Block GroupNo
Custom CSS ClassesOptional space-separated list of CSS classes to be applied to the element. Intended for use with EmailCSS blocks.Text Block GroupNo
RowsThe content (rows or raw HTML) of the table (required)Table Row Component Block GroupNo
Table LayoutHow the table should be laid out.Text Block GroupNo
RoleSpecify the role attribute on the element. The presentation role is used to remove semantic meaning from an element and any of its related child elements.Text Block GroupNo
Cell PaddingThe space between the edges of table cells and their contentUnit Value Block GroupNo
Cell SpacingThe space between the edges of table cells and their surrounding cellsUnit Value Block GroupNo
Text ColourThe colour of the text in this block. Defaults to #000000 (black)Colour Block GroupNo
Text SizeThe size of the text in this block.Unit Value Block GroupNo
FontThe list of preferred fonts for this element.Text Block GroupNo
Line HeightThe height of each line of text inside the element.Text Block GroupNo
WidthThe width of the element.Unit Value Block GroupNo
PaddingThe padding around the element.Text Block GroupNo
Padding BottomThe padding below the element.Unit Value Block GroupNo
Padding LeftThe padding to the left of the element.Unit Value Block GroupNo
Padding RightThe padding to the right of the element.Unit Value Block GroupNo
Padding TopThe padding above the element.Unit Value Block GroupNo
BorderThe border around outside of the table.Text Block GroupNo
Container Background ColourThe colour of the background of the container.Colour Block GroupNo
Horizontal AlignmentHow the block should be aligned horizontally within its container.Text Block GroupNo