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

libGdx unable to find files in android application data directory -

php - Webix Data Loading from Laravel Link -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -