JQuery JavaScript Tutorial

< html>
  
    
    
        $(document).ready(function(){
             $("img").attr({ 
                 src: "http://rntsoft.com/style/logo.png",
                 title: "rntsoft.com",
                 alt: "Logo"
             });
             $("div").text($("img").attr("alt"));
        });