document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <div style="border: 1px solid black; padding: 5px;">
  2.     <div>
  3.         <h3 class="h3image">Image 1</h3>
  4.         <a href="http://3.bp.blogspot.com/-6-XdXjb4Gug/V0JU8f61DyI/AAAAAAAAAFo/kML_kUUD_jAMjPOgnb1hwJGxuY0_n-3lgCK4B/s1600/1.png" imageanchor="1"><img border="0" height="320" id="image1" src="https://3.bp.blogspot.com/-6-XdXjb4Gug/V0JU8f61DyI/AAAAAAAAAFo/kML_kUUD_jAMjPOgnb1hwJGxuY0_n-3lgCK4B/s320/1.png" width="191" /></a><br />
  5.         <input class="button" id="button1" type="button" value="Button 1" />
  6.     </div><br />
  7.     <div>
  8.         <h3 class="h3image">Image 2</h3>
  9.         <a href="http://2.bp.blogspot.com/-9y-zyuu_ypE/V0JXDBUNLiI/AAAAAAAAAF0/1x7wFal54t8UjgvXsiCsflphvk5pyX55ACK4B/s1600/2.jpg" imageanchor="1"><img border="0" height="320" id="image2" src="https://2.bp.blogspot.com/-9y-zyuu_ypE/V0JXDBUNLiI/AAAAAAAAAF0/1x7wFal54t8UjgvXsiCsflphvk5pyX55ACK4B/s320/2.jpg" width="271" /></a><br />
  10.         <input class="button" id="button2" type="button" value="Button 2" />
  11.     </div>
  12.     <psd></psd>
  13. </div>
  14. <script>
  15. $(function(){
  16. //selektor class
  17. $(".h3image").text("Ini adalah judul Image");
  18. //selektor id
  19. $("#image1").css("width", "100");
  20. $("#image1").css("height", "100");
  21. //selektor tag
  22. $("psd").text("Ini adalah selektor tag");
  23. });
  24. </script>
');