Advertisement
yashargh

Untitled

Jan 28th, 2017
2,018
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.22 KB | None | 0 0
  1. You can simply put the <span id="target"></span> here.
  2.  
  3. <script type="text/javascript">
  4. var a = "<a href='http://go";
  5. var b = "ogle.com'>anchor</a>";
  6.  
  7. document.getElementById('target').innerHTML += a + b;
  8. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement