HTMLDrop.
EMBEDDING

A little drop, anywhere.

Share a working preview inside a blog, documentation page, or another website.

Preview only

<iframe
  src="https://htmldrop.com/embed/YOUR_SLUG"
  width="100%" height="450"
  title="My HTMLDrop experiment"
  style="border:1px solid #e3e6df;border-radius:12px"
  loading="lazy"
></iframe>

Source tabs and themes

Add mode=code for source tabs and a preview. Theme accepts light, dark, or auto. Append /v1 to pin the embed to an immutable snapshot. Without a version, each page load shows the latest saved version.

/embed/YOUR_SLUG?mode=code&theme=dark
/embed/YOUR_SLUG/v1?mode=code&theme=auto

Header experiments affect embeds

Headers such as X-Frame-Options and CSP frame-ancestors may intentionally block framing. Remove incompatible headers and save a new version to let the page appear inside an embed.

Made to be explored. Open the workspace and try it for yourself. Coming from CodePen or JSFiddle? See how HTMLDrop compares.