index.html 401 B

12345678910111213141516
  1. <!DOCTYPE html>
  2. <!--
  3. TAG NOTES:
  4. -->
  5. <html>
  6. <body>
  7. <h2>Show a hidden a HTML element using JavaScript</h2>
  8. <p id="demo" style="display:none">JavaScript can change the style of an HTML element</p>
  9. <!-- This is using CSS. CSS can configure how the HTML elements look and feel. -->
  10. <button type="button" onclick="document.getElementById('demo').style.display='block'">Click Me!</button>
  11. </body>
  12. </html>