Here is the HTML for the examples in this article. The document show the HTML as it is easiest to start with: ( Webpage using radio buttons tag and a button done something all loading states on the button! Solutions with HTML and CSS. innerText, innerHTML, and textContent would be used if you are using since it has a opening HTML Button onClick HTML Checkbox Tag HTML code Tag HTML favicon . It also exemplifies the use of jQuery to change the button text.