<keyword>
The <keyword> element identifies
a keyword or token, such as a single value from an enumerated list,
the name of a command or parameter, product name, or a lookup key
for a message.
A keyword contains any text that has a unique or key-like value, such as a product name. Where
there is an element that has a better meaning for what you are describing, use that element. The
<keyword> element is a generic element; use it when no other element applies.
The <keyword> element can also be used to contain reusable text.
Specialized elements derived from <keyword>
might also have extended processing, such as different
formatting or automatic indexing.
All <keyword> or <indexterm> elements in the
<keywords> metadata element are considered part of the topic's
metadata and should be processed as appropriate for the given output medium.
While the <keyword> element can be used inline, the <keywords> element is not an
inline element. The <keywords> element only appears in the
<topicmeta> or <prolog> elements; it is
used to specify keywords that apply to the topic.
Content models
See appendix for information about this element in OASIS document type shells.
Inheritance
- topic/keyword
Example
This section is non-normative.
<p>The <keyword>assert</keyword> pragma statement allows messages to be passed
to the emulator, pre-compiler, etc..</p>
<p>The <keyword id="myProduct">AmazingProduct</keyword> can make use of
this feature to do really neat stuff.</p>Content model
(Text | <draft-comment> | <required-cleanup> | <text> | <tm>)*
Contained by
<abstract>, <alt>, <author>, <b>, <bodydiv>, <brand>, <category>, <cite>, <component>, <consequence>, <coords>, <copyrholder>, <data>, <dd>, <ddhd>, <desc>, <div>, <draft-comment>, <dt>, <dthd>, <entry>, <example>, <featnum>, <figgroup>, <fn>, <howtoavoid>, <i>, <index-base>, <index-see>, <index-see-also>, <index-sort-as>, <indexterm>, <itemgroup>, <keywords>, <li>, <line-through>, <lines>, <linkinfo>, <linktext>, <lq>, <navtitle>, <note>, <overline>, <p>, <ph>, <platform>, <pre>, <prodname>, <prognum>, <publisher>, <q>, <searchtitle>, <section>, <sectiondiv>, <series>, <shortdesc>, <sli>, <sort-as>, <source>, <stentry>, <sub>, <sup>, <title>, <tt>, <typeofhazard>, <u>, <xref>
- Text
<draft-comment><required-cleanup><text><tm>
Contained by
<abstract><alt><author><b><bodydiv><brand><category><cite><component><consequence><coords><copyrholder><data><dd><ddhd><desc><div><draft-comment><dt><dthd><entry><example><featnum><figgroup><fn><howtoavoid><i><index-base><index-see><index-see-also><index-sort-as><indexterm><itemgroup><keywords><li><line-through><lines><linkinfo><linktext><lq><navtitle><note><overline><p><ph><platform><pre><prodname><prognum><publisher><q><searchtitle><section><sectiondiv><series><shortdesc><sli><sort-as><source><stentry><sub><sup><title><tt><typeofhazard><u><xref>
Inheritance
- topic/keyword
The <keyword> element is a base element type. It is defined in the topic module.
Attributes
The following attributes
are available on this element: Universal attribute group,
outputclass, and @keyref.