On this page
  1. <canvas>
  2. Summary
  3. Notes & Best Practices
  4. Example

<canvas>

Prev: `<svg>` | Up: media | Next: `<marquee>`
Rel: media, Tables & Media Guide
Ref: MDN Web Docs — <canvas>
Tags: #public #web #html #elements #media #tier/specialized


Summary

Bitmap drawing surface for 2D Context or WebGL/WebGPU graphics.

Notes & Best Practices

Example

<canvas id="chart" width="400" height="200">
  Bar chart showing quarterly totals.
</canvas>

Linked from

Related notes