.attr()
by Kim Ara
HTML
<p> Once there was a <em title="huge, gigantic">large</em> dinosaur... </p>
The title of the emphasis is:<div></div>
CSS
em { color:blue; font-weight;bold; }
div { color:red; }
JavaScript
var title = $("em").attr("title");
$("div").text(title);