# Iframe sandbox

Restrictions applied to content in an iframe through its sandbox attribute.

## What is **Iframe sandbox**?

**Iframe sandbox** — Restrictions applied to content in an iframe through its sandbox attribute.

```html
<iframe src="comments.html" sandbox="allow-forms"></iframe>
```

Level: Freelancer · [More HTML terms at this level](https://www.ask-codey.com/glossary/subjects/html/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/iframe-sandbox
