Html Asset as Material

How can I use an html asset as a material on another asset? For example using iframe to embed content onto a cube.

You will have to somehow render the HTML content on to a texture and then use that texture for the material.

Another method can be found here: 3d plane with website