Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<title>W3.JS</title>
<script src="https://www.w3schools.com/lib/w3.js"></script>
<body>
<p>Click the button to hide the first p element inside div.</p>
<button onclick="w3.hide('p:nth-child(even)')">Hide</button>
<p>The FIRST paragraph.</p>
<p>The SECOND paragraph.</p>
<p>The THIRD paragraph.</p>
<p>The FOURTH paragraph.</p>
<p>The FIFTH paragraph.</p>
</body>
</html>