# How to embed a quiz on your website

Source: https://rooquiz.com/resources/guides/how-to-embed-a-quiz-on-your-website
Last updated: 2026-11-01

> To embed a quiz, publish it, copy the embed snippet, and paste it where you want the quiz to appear — inline in the page or as a popup triggered by a button. The same snippet works on WordPress, Squarespace, Webflow, and plain HTML, and the quiz resizes to fit its container automatically.

## Inline vs popup embeds

An inline embed places the quiz directly in the page, so it loads with the content — best for a landing page built around the quiz. A popup embed opens the quiz over the page when someone clicks its button — best for adding a quiz to an existing page without redesigning it.

## How to embed a quiz, step by step

**Step 1: Publish your quiz**

Embedding works with a published quiz. Make sure it’s live and you’re happy with the questions and result pages first.

**Step 2: Copy the embed code**

Open the quiz’s Share settings and choose the embed option (inline or popup). Copy the generated snippet — a placeholder div and one script tag.

**Step 3: Paste it where the quiz should appear**

Paste the snippet into your site’s HTML or a custom-code / embed block at the spot you want the quiz (or the popup trigger button) to show.

**Step 4: Publish and test on mobile**

Save and preview on both desktop and phone. The quiz resizes to its container automatically, so check it fits your layout and the result page displays correctly.

## Embedding by platform

| Platform | Where to paste the snippet |
| --- | --- |
| WordPress | A Custom HTML block (block editor) or an HTML widget |
| Squarespace | A Code block on the page |
| Webflow | An Embed element where you want the quiz |
| Plain HTML | Directly into the page markup where the quiz should appear |

## FAQ

### What’s the difference between an inline and a popup embed?

An inline embed shows the quiz within the page content; a popup embed opens it over the page from a button or trigger. Use inline for a quiz-focused landing page and popup to add a quiz to an existing page.

### Will the embedded quiz be responsive on mobile?

Yes. The embed reports its height and resizes to fit its container, so it adapts to the page width on phones and desktops without manual iframe sizing.

### Do I need coding skills to embed a quiz?

No. You paste a single provided snippet into a code/embed block — no scripting required. Most site builders have a dedicated HTML or embed element for exactly this.

### Can I embed a quiz for free?

Yes. RooQuiz includes inline and popup website embedding on the free plan with no credit card.
