Displaying Text
September 17, 2001
Unlike with HTML, it isn't enough to be able to just type in some text and expect the Curl plug-in to be
able to interpret it as text:
This is some text
A web browser would display the above sentence, but if you saved it as a Curl page, you would receive
the following error:
However this is easy to fix, all you need to do is make sure that you include the Curl applet herald, and
then the text can be placed beneath:
{curl 1.7 applet}
{applet license = "development"}
This is some text that Curl can display
All heralds in this book are 1.7 (IDE v1), but if you change them to 1.6, you can get them to work
in the beta 5.1 IDE.
Curl is case-sensitive so make sure you don't specify it as the following:
{CURL 1.7 applet}
{applet license = "development"}
This is some text that Curl can display
otherwise you will still generate an error.
The text can be augmented by a variety of styles (which we will look at shortly) but when no styles are
specified you will see that Curl defaults to using black, 12 point Arial font for text:
Curl as HTML/CSS
Early Adopter Curl
Headings
|