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

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

php - Prepared Statement Inner Join Cannot Pass Parameter by Reference -

c# - Value cannot be null or empty.\r\nParameter name: name -