HTML-in-canvas

Limited availability

A <canvas> HTML element with the content="drawable" attribute can draw descendant elements in its rendering context. You can use it to style and layout text in a canvas, expose canvas content to browser features (like accessibility, translate, or find-in-page), and apply 2D and 3D effects to HTML.

Browser support

  • Chrome 157 Released on 2026-11-03
  • Chrome Android 157 Released on 2026-11-03
  • Edge 157 Released on 2026-11-05
  • Firefox Not supported Bugs: 2093430
  • Firefox for Android Not supported
  • Safari Not supported
  • Safari on iOS Not supported

Need this feature?
Leave a 👍 on the feedback issue
Don't forget to also leave a comment explaining your specific use case.

MDN documentation

No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.

Usage (according to Chrome Platform Status)

~0.000% of page loads. More data at chromestatus.com.