Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>Image src inside Dom</title>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width">
- </head>
- <body>
- <iframe style='display:none;' id='box' src='https://gradely-oceans.000webhostapp.com/anime.png'></iframe>
- <img id='image'/>
- <script>
- image.src=box.src;
- image.style.width='500px';
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement