html - Is it possible to hard code the contents of an iframe? -


a script, example, can either linked:

<script src="myscript.js"></script> 

or embedded:

<script type="text/javascript">     //myscript </script> 

is there way iframes? manually embed webpage within webpage before reaching client's browser?

to same effect, possible embed decoded base64 of image between img tags?

you're looking srcdoc attribute. it's got pretty support, no ie/edge yet.

http://caniuse.com/#feat=iframe-srcdoc


Comments

Popular posts from this blog

javascript - Feed FileReader from server side files -

c++ - What's the differece between of link to a dynamic file and as a input object? -

How to pass json object using PHP in Wepay API -