Jump to content

Adding Html To Canvas?


MrFish
 Share

Recommended Posts

Is it possible to draw html elements inside a canvas? I would like to take an entire page's html and print it inside a canvas like a dynamic screenshot of a webpage. I've looked around an I don't think it's possible but I thought I'd ask.

Link to comment
Share on other sites

I think I understand what you want.

<iframe src="http://www.surfshackyogurt.com" width="800px" height="600px"></iframe>

Try that and tell me if it what you are looking for.PLEASE NOTE: Inside the src= you MUST put the Http:// if you want to link to another url.

Edited by Krewe
Link to comment
Share on other sites

I think I understand what you want.
<iframe src="http://www.surfshackyogurt.com" width="800px" height="600px"></iframe>

Try that and tell me if it what you are looking for.PLEASE NOTE: Inside the src= you MUST put the Http:// if you want to link to another url.

He's referring to the HTML <canvas> element, which is an interface that allows you to dynamically draw things on a website.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...