Notes | for more details | canvas reference; text reference |
The source code for an OpenLaszlo application is an XML document, or a collection of XML
documents. Every OpenLaszlo application begins with a set of <canvas> </canvas>
tags. Other tags are then
included to add functionality to the application. In this example, the <text>
tag was used to display 'Hello World'. Every tag has
attributes that allows you to modify their appearance or behavior. To experiment in the
example above try changing...
<canvas>
to <canvas
bgcolor
="#666699
">
...or...
<text>
to <text
fgcolor
="#CAD0EC
">
Then press the Update button. The application is recompiled and you can see the results of your changes in the running application area.