how to display a text when a button is clicked in html code example Example: javascript button <button onclick="Function()">Text</button>