64x64 icon dark hosting
Choose a hosting plan here and get a free year's subscription to Tuts+ (worth $180).
Advertisement

How to Inject Custom HTML and CSS into an iframe

by
Gift

Start a hosting plan from $3.92/mo and get a free year on Tuts+ (normally $180)

Ever been to a site like JSBin, where you can write HTML, CSS, and JavaScript, and then see the results in a panel to the right? An iframe is how we can accomplish this task. In today's quick tip, I'll show you how to inject HTML and CSS into an iframe.

Select 720p for optimal viewing.
Advertisement