Lab // Canvas-safe HTML
Canvas HTML Library
A reusable library of clean, copy-paste HTML blocks for the Canvas RCE. This version renders the actual color system outside Notion, where the navy, blue, red, and gold treatments display properly.
Source reference: Notion library
Design tokens
Swap these seven hex values to rebrand the full library. The previews below use the same defaults consistently.
#273a80 Headings, navy CTAs, borders #406daa Subtitles, italics, accents #e12526 Required and alert callouts #fdb71a Underlines, highlight borders #eef2f9 Card backgrounds #fdecec Warning callout fills #fff8e6 Highlight callout fills Component index
Rendered components
Section heading
Section Title
Callouts
Keep going. Below you'll find additional information about the topic at hand.
Required. This task must be completed before the next module unlocks.
READ ME - YES, REALLY
This is the friendly opener that reframes important content so students actually read it.
Hero banner with overlay
EYEBROW LABEL
Page Title Goes Here
Optional supporting sentence.Card grid
CTA button
Data table
| Column A | Column B | Column C |
|---|---|---|
| Row 1 | Value | Value |
| Row 2 | Value | Value |
| Row 3 | Value | Value |
Instructor card
INSTRUCTOR
Dr. Instructor Name
Course title and section Email: email@school.edu Office: Building, Room 123Best way to reach me: Email - I reply within 24 business hours.
Two-column layout
Left column
Body content for the left side. Keep it tight - one idea per column works best.
Right column
Body content for the right side. Pair with the left, or use for related-but-separate ideas.
Outcomes list
What you'll get out of this section
- 1
Outcome one. Short action-oriented description.
- 2
Outcome two. Short action-oriented description.
- 3
Outcome three. Short action-oriented description.
Pull quote
"A short, memorable sentence that frames the section or sets the tone."
Unit outline
ALIGNS WITH COURSE LEARNING OUTCOME
Illustrate the role of the computer for personal and professional uses.
| # | Learning objective |
|---|---|
| 1 | Discuss the history and evolution of computers. |
| 2 | Describe common computer parameters and computer circuits. |
| 3 | Define and demonstrate digital literacy. |
Canvas caveats
- Keep components self-contained; Canvas usually strips shared style blocks and media queries.
- Use inline styles and responsive grid values such as
repeat(auto-fit, minmax(...)). - Do not rely on scripts, forms, pseudo-elements, or links wrapped around block-level cards.
- Keep table captions and
scopeattributes for screen readers. - Upload images to Canvas Files first, then replace image URLs in copied HTML.