<!DOCTYPE html>
<html>
<title>W3.JS</title>
<script src="/Uploads/Public/article/webdistut/javascript/w3.js"></script>
<body>

<p>Click the button to toggle between hiding and showing the element with id="London".</p>

<button onclick="w3.toggleShow('#London')">Toggle Hide/Show</button>

<div id="London">
  <h2>London</h2>
  <p>London is the capital city of England.</p>
</div>

</body>
</html>

Click the button to toggle between hiding and showing the element with id="London".

London

London is the capital city of England.