Style
AI-generatedSummary
Applies selected inline CSS styles to tables in the supplied HTML and returns the styled HTML in an output field. Choose which tables to target with the selector options and enable the style groups you want to apply.
Inputs
- HTML Input (required) — HTML containing the table or tables to style.
- Table selection — Select tables using a preset (all, first, last, under a heading, or with a caption) or a custom CSS selector; advanced selector fields are also available. Heading and caption presets can be filtered by text, and the heading preset accepts a heading level and table index.
- Table styling — Optionally enable table class and style, row style, cell style, border, and caption options. These can set CSS classes, text alignment, custom inline CSS, table border attributes and CSS properties, and caption styling or position. Each style group is off by default.
- Output Field — Name of the field to store the styled HTML; defaults to
styledHtml. - Wrap Output — Whether to wrap the result in an output field; enabled by default. The wrapper field name defaults to
convertedData.
Output shape
A single output item containing the styled HTML string.
The HTML is stored under the configured Output Field. The Wrap Output setting controls whether the result is placed under the configured wrapper field name or returned directly.
Examples
Example 1: Center text in table cells
Enable Cell Style and set Cell Text Align to Center. Provide the HTML in HTML Input and retain the default table selection.