Using the HTML Content Block

Overview

This article contains a list of tags and attributes that can be used in the HTML content block in the Email Builder.

Using your own code may affect how the message is rendered in email clients, preventing it from adjusting to the screen size (i.e. the "responsiveness" of the message). Please make sure to use HTML that is email compliant and responsive across all email clients.

Supported Tags and Attributes

The HTML content block will automatically correct some issues such as HTML tags that are left open, and will strip out code that cannot be used, such as script tags or iframe tags. These code tags are not supported by the majority of email clients, and can cause deliverability problems or security risks for the editor on the applications that run it.

Supported Tags

  • a
  • abbr
  • acronym
  • address
  • area
  • b
  • bdo
  • big
  • blockquote
  • button
  • caption
  • center
  • cite
  • code
  • colgroup
  • dd
  • del
  • dfn
  • dir
  • div
  • dl
  • dt
  • em
  • fieldset
  • font
  • form
    h1
  • h2
  • h3
  • h4
  • h5
  • h6
  • i
  • ins
  • kbd
  • label
  • legend
  • li
  • map
  • menu
  • ol
  • optgroup
  • option
  • p
  • pre
  • q
  • s
  • samp
  • select
  • small


  • span
  • strike
  • strong
  • sub
  • sup
  • table
  • tbody
  • td
  • textarea
  • tfoot
  • th
  • thead
  • tr
  • tt
  • u
  • ul
  • var

Supported Attributes

  • general attributes: style, id, class, data-*, title
  • a: href, name, target
  • img: align, alt, border height, hspace, src, vspace, width, usemap
  • table: align, bgcolor, border, cellpadding, cellspacing, width
  • tbody: align, valign
  • td: align, bgcolor, colspan, height, rowspan, valign, width
  • tr: align, bgcolor, valign
  • tfoot: align, valign
  • th: align, bicolor, colspan, height, rowspan, valign, width
  • thead: align, valign
  • li: type
  • map: name
  • area: alt, coords, href, shape, target