<html>
<title>W3.JS</title>
<script src="../lib/w3.js"></script>
<body>
<p>Click the button to hide all p elements inside div.</p>
<button onclick="w3.hide('div p')">Hide</button>
<div>
<h2>Heading</h2>
<p>This is a paragraph.</p>
<p>This is also a paragraph.</p>
</div>
</body>
<!-- Mirrored from www.w3schools.com/w3js/tryit.asp?filename=tryw3js_selectors_div_p by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:50:36 GMT -->
</html>