<!DOCTYPE html> <p>Click the button to hide all h2 elements.</p> <button onclick="w3.hide('h2')">Hide h2</button> <div id="London" class="city"> <div id="Paris" class="city"> <div id="Tokyo" class="city"> </body> |
Click the button to hide all h2 elements. LondonLondon is the capital city of England. ParisParis is the capital of France. TokyoTokyo is the capital of Japan. |