add text to a button via css code example Example: css change the button text value document.getElementById("myButton").innerHTML="new button text";