label
Display a label. If the name is not defined, the text content of the label is used to provide the content. One or more ogScript tasks can be attached to a label to be fired when the label is clicked.
Syntax
<label name="label-name" attributes> </label>
Attributes
Tag |
Values |
Restrictions |
Description |
name |
String |
|
The text to display in the label. |
align |
left right center |
|
The horizontal alignment of the text within the label. |
header |
true false |
|
Format the label as a header element (apply a standard header background, foreground, and border). |
html |
true false |
|
The text is actually a snippet of HTML (you do not need to provide the <html></html> tags). |
Default values shown in bold.
Examples
<label name="This is a label" />
<label html="true" name="This is an <i>HTML</i> label"/>
<label header="true" name="Label with the header attribute" />
Figure 70 – Label Examples