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 -

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

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -