Common Desktop Environment: Help System Author's and Programmer's Guide

<caution>

Caution notice: Specifies information that warns the user about a potential loss of data or hazard.

Syntax

<caution>
text of caution
 <\caution> 

The default heading is "Caution". To specify a different heading, use the <head> tag as shown here:

<caution><head>alternate heading
text of caution
<\caution> 

The <\caution> end tag is required.

To specify that an icon be displayed with the caution, define a file entity at the top of your help volume as follows:

<!entity CautionElementDefaultIconFile FILE  "filename"> 

Where filename is the name of the icon graphic. A sample caution icon named cauticon.pm is provided in the /usr/dt/dthelp/dthelptag/icons directory.

Example

Here is a caution message:

<caution>
There is no Undo for this selection. Before performing this task, 
save any changes to your document.
 <\caution> 

The markup produces this output:

Graphic

See Also