Displays a button that the user can click.
<button {OK} onClick=<putLn {/ok}>> displays an OK button that sends /ok to the program when clicked.<button {Quit} onClick=<putLn {/quit}>> a common way to let the user end a program.Content to display on the face of the button, usually a short piece of text. Other presentation tags, such as an img for an icon, may be included.
The button is displayed where it is created, as long as its container is visible and its own visible field is not false. Each time the user clicks it, the code in its onClick field is carried out.
Any presentation tag can respond to clicks with onClick. A button simply looks like something to be clicked.