The compact Chronme stopwatch can be embedded in a web page with an iframe. It provides Start, Pause and Reset controls and is separate from the full stopwatch with activity history and exports.
Try the widget
Start, pause and reset the stopwatch here to see how it works on your own page.
Add the embed code
Open the page in your website editor and insert the following code in a location that accepts HTML. In a block editor, use an appropriate custom HTML block; other website builders may call this an embed or HTML element.
The iframe loads the compact stopwatch at 165 by 110 pixels. Its title provides a useful label for assistive technology. The widget fits this compact frame, and the maximum-width style helps keep it within its container.
Preview and test
- Save or preview your page, then check that the stopwatch appears.
- Select Start and confirm the display advances, then select Pause and check that it stops. Try Continue and Reset too.
- Try the page on a narrow screen and make sure the frame is not clipped. Give it more room if your layout needs it.
If the widget does not appear
Some builders or site security policies do not allow iframes or external content. Check the platform’s embed settings and any restrictions on loading www.chronme.com. If your platform does not support the embed, link to the full stopwatch instead.
Where to place the widget
Place the code where the stopwatch is relevant, such as beside an exercise or a timed activity. In an editor with an HTML block, paste the complete iframe into that block rather than a normal text paragraph; a normal text block may display the code instead of the widget. Preview the page using your platform’s own preview before publishing.
The width and height on the iframe define the space reserved by your page. If the stopwatch is clipped, check that its containing column is wide enough and that the frame has enough height. The maximum-width setting helps keep the frame within its container. If the space is very narrow, check that the time and both buttons remain readable.
Check the published page
After publishing, open the page as a visitor and start the stopwatch. Confirm that it advances, stops and resets. Test at the screen widths your visitors are likely to use. If the editor preview works but the published page does not, inspect the published HTML and your platform’s external-content settings.
A blank space can have several causes: an editor may remove the iframe, a security policy may block the source, or a browser or network may block external content. Check each in your platform’s documentation. If the iframe cannot be used, a clear link to the full stopwatch is a practical alternative.
The embedded widget does not share the full stopwatch’s activity history. For laps, descriptions and exports, use the full version and start with how to use Chronme.
