---
title: "Paste your own HTML"
description: "Add the HTML block, copy a brief for your own AI, and paste the code it writes into the Code field."
slug: "en/customs/design/paste-your-own-html"
url: "https://docs.custom.one/en/customs/design/paste-your-own-html/"
capability: "result-page-modules"
published_at: "2026-10-29T07:05:18.525Z"
---
The **HTML** block turns code you paste — written by you, or by an AI you
already use — into your video background. Every piece of text in it stays
editable afterwards, and can show a lead's own answer or score.

## Add the block

In the editor's left rail, click **AI**. The **Build with AI** card opens with
the **HTML** tile. Click it, or drag it onto the page. **Search** finds it too.

It arrives as a full page. To make it sit in a box among other modules instead,
go to the **Settings** card at the bottom of its panel and switch **Placement**
from **Full page** to **Its own box**.

## Have your AI write it

In the same **Settings** card, **Copy for your AI** copies a brief any AI can
follow: the page size, how variables work, and every variable this custom has.
Paste it into ChatGPT, Claude or whichever AI you use, then say what you want on
the page.

The brief has your AI ask you how the page should look and what it should
show, then write the code. It also gives it the rules a page needs to work here
— the fixed size, nothing clickable, no scripts. For a block in its own box,
the brief is written for that box's size.

Two things to expect. The pictures arrive as empty frames: click each one and
use **Replace** (see [Edit an HTML page](/en/customs/design/edit-an-html-page/)).
And fonts outside the editor's own list fall back to a standard one — see [What
works in an HTML page](/en/customs/design/what-works-in-an-html-page/).

Copy the brief again after you change your questions or scores: it lists your
variables as they are at that moment.

## Paste the code

Paste the answer into the **Code** field, in the block's panel on the right. A
snippet works, and so does a whole web page: from a whole page, its body and
its styles are kept and the rest — the head, the title, any scripts — is
dropped. The field then shows what was kept.

The page redraws a moment after you stop typing. To drop in a variable — a
lead's first name, an answer, a score — put the cursor where it goes and use
**+** beside **Code**.

If your AI wrote a section in several versions, one per answer, it arrives
with those versions under **Who sees what**.

If your code was designed as a narrow column, say the width of a phone, it is
drawn at that width and scaled up to fill the block, rather than left small in
the middle.

## Then work on the page itself

Once the code is in, you don't have to go back to it. Click any section of the
page to change its words or pictures — see [Edit an HTML
page](/en/customs/design/edit-an-html-page/). Words you rewrite on the page are
written back into the code; pictures and versions are kept beside it.

Before you design, check [What works in an HTML
page](/en/customs/design/what-works-in-an-html-page/): a few things in ordinary
web code are removed.