Table 11-1 shows the properties you can assign to the full class attribute of an element. The list of elements for which a property is assigned by default is representative, not exhaustive; for the complete list of default property assignments, see §B. Element type default properties.
Properties are grouped as follows in Table 11-1:
Inline |
Does not start a new paragraph, starts an inline (character) format, unless the element is also assigned property Typo. Default for ph, img, xref, fn, tt. |
|
Pre |
May be block or Inline, always Text; retains all existing whitespace. Default for pre, lines, codeblock. |
|
Text |
Can have text; true of all Inline and of some block. An empty block element that is not also Text is deleted; otherwise it becomes an empty paragraph. Default for p, lq, and many others. |
|
Typo |
Typographic property only; always Inline, but does not start an inline format; treated like an override instead. Default for b, i, u, sub, sup. |
|
Num |
||
Data |
Suppressed for output, except for any contained text; normally used for metadata. Default for data, data-about. |
|
Pernicious |
Can contain both text (#PCDATA) and block (as opposed to inline) elements, resulting in “pernicious mixed content”. Default for li and entry. |
|
NoLevel |
Does not add to the hierarchy of levels for elements such as headings. Default for sectiondiv, bodydiv, conbodydiv, and refbodydiv. |
|
Draft |
||
Root |
Root element for DITA map or topic. Default for topic, concept, task, reference, glossentry, map, bookmap. |
|
Map |
||
Topic |
Map element containing topic information. Default for topichead, topicref, topicmeta. |
|
Meta |
||
Var |
Sets a variable. Default for many bookmap text metadata elements: author, booknumber, booktitlealt, brand, category, component, copyrholder, copyright, copyryear, featnum, isbn, mainbooktitle, platform, prodname, prognum, publisher, series, source.; see §12. Creating and deploying user variables |
|
Title |
||
Section |
||
Note |
Element with type attribute, such as note. Default for note. |
|
Task |
||
Ref |
||
Glossary |
Used for <glossentry> specific elements, <term>, and <abbreviated-form>. |
|
BookTitle |
||
NavTitle |
||
Trademark |
||
Fig |
||
Image |
||
Alt |
||
Object |
||
Param |
||
Index |
||
IxStart |
||
IxSee |
||
IxAlso |
||
IxSort |
||
Ref |
Used for cross-referencing. Default for xref., topicref, booklist, among many others. |
|
Key |
||
XRSource |
Contains a number or content that may be used in an xref. Default for title, li, fn. |
|
Link |
||
Rel |
||
Abbrev |
Used for keyrefs to abbreviations. Default for abbreviated-form. |
|
Group |
||
Sequence |
||
List |
||
ListItem |
||
DList |
||
DLEntry |
||
DLTerm |
||
DLDef |
||
Sub |
||
CascadeSet |
||
CascadeItem |
||
NoNumber |
||
PList |
||
PLmEntry |
||
PLTerm |
||
PLDef |
||
Footnote |
||
Desc |
||
SDesc |
Short description in topicref or topic; default for shortdesc. |
|
Abstr |
||
Table |
Starts a table or contains table-wide information. Default for table, simpletable, parml, dl, colspec, tgroup, thead, tbody. |
|
TabStart |
||
TabCol |
||
TabRow |
Contains a row. Default for row, sthead, strow, plentry, dlhead, dlentry. |
|
TabCell |
Table cell. Default for entry, stentry, pt, pd, dthd, ddhd, dt, dd. |
|
TabHead |
||
TabBody |
Occurs in table body. Default for tbody, strow, dlentry, plentry. |