<< Chapter < Page | Chapter >> Page > |
The
link
tag is the tag in CNXML
used for linking to other Connexions modules or collections as well as external links.
The
target
and
document
attributes can be used
together or alone. If both are used then you will linkto a particular tag in another document. If only
document
is used, you will link to
another document. If only
target
is used, you will link to a
particular tag within the current document.
The
cite
tag is used to refer
to non-electronic materials within a document, and primarilycontains the title, the author, and/or a page number of a work.
Finally, a good resource is the<cite>Garden Lover's
Cookbook -- William M. Rice; Paperback</cite>.
The above markup will display as:
Finally, a good resource is the Garden Lover's Cookbook -- William M. Rice; Paperback .
The
quote
tag is used to
denote that some text directly quotes anothersource. The quote tag has a
display
attribute which denotes
whether the quote is
inline
or
block
.
<para id='plantquote'>Every plant needs a different amount of water in order to
grow well.<quote display="inline">"If you water each plant the same, you
will always water too much and too little."</quote>Also,
remember the words of Lou Erickson:<quote id="quote_example" display='block'>"Gardening requires lots of water -
most of it in the form of perspiration."</quote></para>
Every plant needs a different amount of water in order to grow well.
"If you water each plant the same, you will always water too much and too little."Also, remember the words of Lou Erickson:
"Gardening requires lots of water - most of it in the form of perspiration."
The
foreign
tag is used to
denote that a word or phrase foreign to the language of the document is being used.
<para id='plantquote2'>All flowers have a scientific name, often derived from
Latin.<foreign>Gardenia augusta</foreign>is the name
of a type of gardenia found in Japan.</para>
All flowers have a scientific name, often derived from latin.
The
code
tag is used to insert example computer
output/input as either inline text within a paragraph or as ablock of text. 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.For now, take a look at what the inline code looks like:
<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
You will see more about code blocks in Advanced CNXML using Edit-In-Place .
Notification Switch
Would you like to follow the '2008-'09 open education cup: high performance computing' conversation and receive update notifications?