<!DOCTYPE html> <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" class="city"> <div id="Paris" class="city"> <div id="Tokyo" class="city"> </body> |
Click the button to toggle between hiding and showing the element with id="London". LondonLondon is the capital city of England. ParisParis is the capital of France. TokyoTokyo is the capital of Japan. |