YOU ARE VIEWING ARCHIVAL DOCUMENTATION FOR ioL VERSIONS 0.9x. Go to doc.iol.science for the latest version.
ioL

Programming manual (doc0.iol.science)



<button>

A button is an on-screen element designed to represent the visual metaphor of a button that the user can press. Button elements change their appearance as the user clicks on them, providing intuitive visual feedback to the user.

Are you sure you want to exit?

OK
Cancel

To make a button useful, define its onclick field to perform some action (e.g. sending input back to your program using the put tag).

Note: many markup elements besides buttons (e.g. box, span, img, ...) can also respond to mouse clicks. However, a button element displays visual cues which can help make the user's experience more intuitive in certain instances.

Fields

The default field specifies text content, including any markup tags and special elements, to be presented within the button element.

Additionally, the following named fields can be defined on this tag. Please refer to the field reference section of this site for details on each field.