Testing innerHTML Details
Go ahead and put something in here
Other Examples to Try:
- Happy snowmen! ☃ or ☃
- <pre>test \n it </pre>
- 'This isn't a probem', but watch if you had escaped it \'like so\'
- <style>body {background-color: red;}</style>
- <a href="javascript:alert('I was clicked')">Click this link</a>
- <img src='logo.gif' onload="alert('Code ran')">
- <img src='logo.gif' style='display:none' onload="alert('Code ran')">
- <script>alert("Ran code!");document.bgColor = 'green';</script>
- <script defer>alert("Ran code!");document.bgColor = 'green';</script>
- Hi I am a text node <script defer>alert("Ran code!");document.bgColor = 'green';</script>
- <script src='ext.js' ></script>
- <script defer src='ext.js' ></script>
- Hi I am a text node <script defer src='ext.js' ></script>