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.
Any other quiz: post a link
- 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.
- Drop it on sharehtml.org and sign in with your email and the 6-digit code we send.
- Copy the link. In Google Classroom choose Create, then an assignment or material, then Add, Link, and paste it.
- 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
- ShareHTML accounts are for adults. You upload; students only open links.
- Keep the quiz free of students' names and emails, and do not ask the page to collect them.
- Links are unlisted: search engines are asked not to index them, but anyone with the link can open the page.
- Free pages carry a small "Hosted on ShareHTML" bar. Pro takes it off and has no cap on views, which helps when a whole school uses one quiz.
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.