Guide

Share an HTML quiz or lesson with your class

AI tools make good quizzes, flashcards and little lessons as HTML files. Attached in Google Classroom or an email, students see code. Shared as a link, the quiz runs on every Chromebook, tablet and phone.

By the ShareHTML team. Updated .

Made it in Gemini?

Since June 2026, Google lets educators share Gemini Canvas work straight to Google Classroom, from Gemini itself. If your school uses that, it is the shortest path.

  1. Save the quiz as one HTML file. Ask the AI for "one complete HTML file with CSS and JavaScript inline" if it gave you several.
  2. Drop it on sharehtml.org and sign in with your email and the 6-digit code we send.
  3. Copy the link. In Google Classroom choose Create, then an assignment or material, then Add, Link, and paste it.
  4. Students tap the link. They need no account.

Spot a mistake after posting? Replace the file in your dashboard: the link stays the same.

Students and their data

Questions

Can I upload an HTML file to Google Classroom?
You can attach it, but students see the code or a download. Post a link to it instead.
Does it work on Chromebooks?
Yes. The quiz opens in the browser like any website.
How big can a quiz be?
5 MB on the free plan, which holds 25 pages. Most quizzes are a few hundred kilobytes.