
HTML-in-Canvas: what it is, how it works, and how to use it
HTML-in-Canvas is a browser API that lets a <canvas> draw real HTML elements. You put a normal <div>, form or block of styled text inside the canvas. The browser lays it out and keeps it in the page.












