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