<html>
<title>W3.JS</title>
<link rel="stylesheet" href="../w3css/4/w3.css">
<script src="../lib/w3.js"></script>
<body class="w3-container">
<h2>Testing W3.JS with CSS</h2>
<p>Click the button to remove the "w3-text-red" class from all h2 elements.</p>
<p>
<button class="w3-button w3-red" onclick="w3.removeClass('h2','w3-text-red')">Remove Class</button>
</p>
<div id="London">
<h2 class="w3-text-red">London</h2>
<p>London is the capital city of England.</p>
</div>
<div id="Paris">
<h2 class="w3-text-red">Paris</h2>
<p>Paris is the capital of France.</p>
</div>
<div id="Tokyo">
<h2 class="w3-text-red">Tokyo</h2>
<p>Tokyo is the capital of Japan.</p>
</div>
</body>
<!-- Mirrored from www.w3schools.com/w3js/tryit.asp?filename=tryw3js_remove_class_tag_style by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:29:20 GMT -->
</html>