> ## Documentation Index
> Fetch the complete documentation index at: https://help.maestra.io/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Add an HTML Block to an Email

The HTML block lets you drop ready-made markup into an email — product cards, custom buttons, and more. Reach for it when you already have coded HTML and want to place it next to the editor's own blocks quickly, without uploading it as a custom block.

For example, an email can mix product cards built in HTML with a timer and text built in the Maestra Editor.

> [!WARNING]
>
> Before you send, make sure the code displays correctly in the email. See [How to check the result](#how-to-check-the-result).

## When to use the HTML block

* You have ready-made markup for a single element, such as a custom button or a promo banner.
* You need a block you can't build from the editor's standard elements.
* You want to combine HTML with regular blocks in one email without uploading it as a custom block.

## How to add an HTML block

**1. Add an empty block**

Add a new empty block to the email.

**2. Drag in the HTML element**

Drag the **HTML** element from the elements panel on the left into the block.

You can place the HTML element next to other elements — text, image, button — in the same row of a block.

**3. Paste your code**

Click the element you added and paste your code on the **Design** tab.

**4. Choose where it shows**

On the **Display** tab, choose which devices show the block:

* all devices,
* desktop only,
* mobile only.

**5. Save the email**

Save your changes.

## How to check the result

Before a bulk send, make sure the HTML block looks right:

1. Open **Preview** and check the layout in both the desktop and mobile versions.
2. Send yourself a [test email](https://help.maestra.io/campaigns/how-to-test-your-campaign.md) and open it in several email clients, such as Gmail and Outlook — HTML can render differently from one to another.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.