Skip to content

API & integrations

Formatting letter content

What HTML and CSS the content field supports when you're sending text or HTML content directly, and what isn't supported.

Last reviewed · By Intelliprint Team

When you send a letter's content as a plain string, Intelliprint accepts standard HTML alongside a limited set of inline CSS — enough to format an invoice, a welcome letter, or any other generated document without a design tool.

What's supported

  • Headings h1 through h6, paragraphs, and line breaks (<br>).
  • Bold, italic, underline, and strikethrough text.
  • Ordered and unordered lists.
  • Tables.
  • Links — rendered underlined in the printed letter. Since a printed letter can't be clicked, include the full URL as visible text too, not just as a link target.
  • Images — must be from a publicly accessible URL, in JPG or PNG format; 300 DPI is recommended for print quality.

Styling

Apply inline styles directly on elements rather than <style> tags or external stylesheets, which aren't supported. Supported CSS properties: color, background-color, font-size, font-family (limited to common, web-safe fonts such as Arial, Helvetica, Times New Roman, Georgia, and Courier), font-weight, text-align, line-height, margin, padding, border, and width/height.

Forcing a page break

Insert a page-break-after: always style on an element between two sections to force the following content onto a new page.

What's not supported

  • JavaScript.
  • External CSS stylesheets — use inline styles instead.
  • Web fonts — use system/web-safe fonts instead.
  • SVG images — use JPG or PNG instead.
  • HTML5 video or audio.
  • Forms and input fields.

If you'd rather keep full design control, see designing a reusable template or the full API reference.