<heml>

Block

Use the block element for consistent sections in your emails

The block element is useful for a safe way to add a generic block element into your content, like a <div> tag.

Examples

Default block

<block>I'm a block</block>

Changing the background color

<heml>
  <head>
    <style>
      block {
        background: CornflowerBlue;
      }
    </style>
  </head>
  <body>
    <block>I'm a blue block</block>
  </body>
</heml>

Attributes

This element supports the global attributes.

Styling

The block supports the standard block element styles.

Pseudo elements

div::root
  table::table
    tr::row
      td::cell