<!DOCTYPE html>
<html>
<head>
<title>jQuery html() method</title>
<script src="jquery-latest.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
var content = $("p").html();
$("div").text(content);
});
});
</script>
</head>
<body>
<p><span title="First Paragraph">First paragraph</span> start here...</p>
<button>Click here to call html() method</button>
<br /><br />
<div></div>
</body>
</html>