HTML

The HTML field can be used to display any content, with the ability to run scripts in a protected sandbox.

Example

({
  type: "html",
  label: "HTML",
  html: "<h1>Hello world!</h1>",
  height: 120,
  center: true,
})

Options

Output

Use these options when using the field with make.

label?
string
A label describing the purpose of the field.
url?
string
A URL pointing to the content to display. Alternatively, you can display arbitrary HTML using the html property.
html?
string
The HTML content to display, if no url is given.
height?
number
The height of the content, in pixels.
center?
boolean
Align the body content to the vertical and horizontal center of the field.