Skip to content

Table

Overview

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


Parameters

ParameterParameterValid BlocksRequired
Style Sets Optional list of Email Style blocks to apply to this block Text Block Group No
Custom CSS Classes Optional space-separated list of CSS classes to be applied to the element. Intended for use with EmailCSS blocks. Text Block Group No
Rows The content (rows or raw HTML) of the table (required) Table Row Component Block Group No
Table Layout How the table should be laid out. Text Block Group No
Role Specify 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 Group No
Cell Padding The space between the edges of table cells and their content Unit Value Block Group No
Cell Spacing The space between the edges of table cells and their surrounding cells Unit Value Block Group No
Text Colour The colour of the text in this block. Defaults to #000000 (black) Colour Block Group No
Text Size The size of the text in this block. Unit Value Block Group No
Font The list of preferred fonts for this element. Text Block Group No
Line Height The height of each line of text inside the element. Text Block Group No
Width The width of the element. Unit Value Block Group No
Padding The padding around the element. Text Block Group No
Padding Bottom The padding below the element. Unit Value Block Group No
Padding Left The padding to the left of the element. Unit Value Block Group No
Padding Right The padding to the right of the element. Unit Value Block Group No
Padding Top The padding above the element. Unit Value Block Group No
Border The border around outside of the table. Text Block Group No
Container Background Colour The colour of the background of the container. Colour Block Group No
Horizontal Alignment How the block should be aligned horizontally within its container. Text Block Group No