Hiding and Showing

<!DOCTYPE html>
<html >
<head >
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" >
</script >
<script >
$(document).ready(function(){
$("#hide").click(function(){
$("p").hide();
});
$("#show").click(function(){
$("p").show();
});
});
</script>
</head>
<body>
<button id="hide">Hide</button>
<button id="show">Show</button>
</body>
</html>
</div>


If you click on the "Hide" button, sentence will disappear.

If you click on the "Hide" button, Image will disappear.