<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
$("p").hide();
});
});
</script>
</head>
<body>
<h2>c# corner</h2>
<p>community for developers</p>
<p>c-sharpcorner.com</p>
<button>Click me to hide paragraphs</button>
</body>
</html>In this code snippet you will learn how to select element in JQuery
