The code tag is used to insert example computer
output/input as either inline text within a paragraph or as a
block of text. To see which tags it may contain or be inside,
consult the CNXML
Spec. The code tag has a display
attribute with two possible values.
-
inline(default) - used to specify code that is inline. -
block- used to specify code that should be in a separate block of text.
Example 1
<para id='copy'>
In a unix terminal the command to copy a file is <code
display='inline'>cp original copy</code>.
</para>
In a unix terminal the command to copy a file is cp original copy









"The canonical how-to guide to using Connexions."