# Raw HTML

Use this content block to embed raw HTML and third party code, e.g. for a Google Map.

When embedding a script or an iframe from a third party domain, it will be locked, unless that domain is on the [permitted list.](https://bookstack.iconography.co.uk/books/general/page/permitted-third-party-domains "Permitted Third Party Domains")

<p class="callout danger">Embedding third party code is risky and may cause harm to your website</p>

<p class="callout warning">You may have to contact Iconography prior to using these blocks, as third party domains will be blocked unless they have been whitelisted, e.g. for a Google Map</p>

## Appearance

[![image.png](https://bookstack.iconography.co.uk/uploads/images/gallery/2024-11/scaled-1680-/JMzimage.png)](https://bookstack.iconography.co.uk/uploads/images/gallery/2024-11/JMzimage.png)

## Editing the Block

### Content

<table border="1" id="bkmrk-field-purpose-headin" style="border-collapse: collapse; width: 100%; height: 349.903px;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><thead><tr style="height: 29.6806px;"><td style="height: 29.6806px;">Field</td><td style="height: 29.6806px;">Purpose</td></tr></thead><tbody><tr style="height: 46.4722px;"><td style="height: 46.4722px;">HTML</td><td style="height: 46.4722px;">*Paste your HTML into here*</td></tr></tbody></table>

### Settings

<table border="1" id="bkmrk-field-purpose-block-" style="width: 92.7381%;"><thead><tr><td style="width: 45.7196%;">Field</td><td style="width: 54.2662%;">Purpose</td></tr></thead><tbody><tr><td style="width: 45.7196%;">Block Width</td><td style="width: 54.2662%;">*Choose from:*

- *25%*
- *33%*
- *50%*
- *66%*
- *75%*
- *100%*
- *Full Width (set to always be the full width of the user's device)*

</td></tr><tr><td style="width: 45.7196%;">Visibility</td><td style="width: 54.2662%;">*Set the block visibility from the list:*

- *Default (both)*
- *Desktop Only*
- *Mobile Only*
- *Hidden (none)*

</td></tr></tbody></table>

<span style="font-family: var(--font-heading, var(--font-body)); font-size: 2.333em; font-weight: 400;">Advanced</span>

#### Padding

Adding padding will insert space within the current block; this will adjust the position of content within the block.

More information is available [here](https://bookstack.iconography.co.uk/books/general/page/padding).

#### Margin

The margin will add additional space around the current block.

More information is available [here](https://bookstack.iconography.co.uk/books/general/page/margin).