HTML embed block
Sometimes the thing you want on your page lives somewhere else: a booking widget, a calendar, a map from another service, a video platform. The HTML embed block lets you paste the code those services give you and show it on your page. Let's dive in.
Purpose and when to use
Most services that can be shown on other websites offer an embed code. Pasting that code into a rich text block does not work, because the text editor does not run code. The HTML embed block does: it places the code on the page and runs it.
Use it for third-party widgets, a form or poll from another tool, or an iframe from a service you trust. If AXIO has a block for the job, such as video, map or form, use that one: it follows your theme and needs no code.
What makes it handy
Paste and go
Copy the embed code from the other service and paste it in. No developer needed for the common widgets.
Scripts do run
Scripts in the code are executed, so widgets that need one to draw themselves work as they do elsewhere.
Choose what an iframe may do
For an iframe you decide which permissions it gets, such as running scripts, sending forms or opening popups.
The HTML embed block in action
Below is a real HTML embed block.
What you can set
- Title: a name for the embed, used internally. Give every embed on a page its own title.
- Code: the HTML you paste, for example an iframe or a script from another service.
- Permissions for iframes: what an iframe in your code may do: run scripts, keep its own origin, send forms, open popups or navigate the page. Leave the defaults unless the service needs more, and give no more than it needs.
What visitors see
Whatever the embedded code draws, in the place of the block. It is added after the page has loaded, so it appears a moment later than the text around it. The block follows no theme settings: colours and fonts come from the code you paste.
Only paste code from services you trust. Scripts in the code run on your page like any other script, and the permissions only limit iframes.
Alternatives
- Video block: for YouTube and Vimeo, with a placeholder image first. See Video block.
- Map block: for a map with markers, in your own style. See Map block.
- Form block: for a form you can build and manage in AXIO. See Form block.
When an embed is the only moving part on a page, put a short text above it that says what it is. Visitors then know what to expect while it loads.
Learn more
Want to see an instructional video about how to add a html embed block? Check out this link.


