#### 30.4.1 Understanding where to specify format property overrides

In prior versions of DITA2Go, you could specify overrides to both character (inline) formats and paragraph (block) format properties in section [HTMLStyles]. That section is now deprecated, in favor of two new sections:

[HTMLParaStyles] for paragraph overrides

[HTMLCharStyles] for character overrides.

Some former [HTMLStyles] format properties can be assigned either to paragraph formats or to character formats, and so can be used in either of the new sections. Table 30-1 lists all the properties alphabetically, and shows the sections in which they are valid: Para for [HTMLParaStyles] and Char for [HTMLCharStyles].

Table 30-1 HTML properties for paragraph and character formats

Format property | Purpose | Para | Char | Ref.
Abbr | Gets value for abbr attribute from [StyleCellAbbr] | X |  | 35.2.2.2
AbbrVal | Make content into abbr for table cell | X |  | 35.2.3
ALink | Uses content for ALink Name property of ALink object | X |  | 16.6.4.2
Alt | Makes content into alt attribute for next <img> | X |  | 34.2.2
Anum | Includes autonumber in format | X |  | 30.2.2
Axis | Gets value for axis attribute from [StyleCellAxis] | X |  | 35.2.2.2
AxisVal | Makes content into axis for table cell | X |  | 35.2.3
Bold | Encloses text in this format in <b>...</b> | X | X | 30.4.3
CellAttribute | Applies attributes in [StyleCellAttribute] to enclosing cell | X |  | 33.4.6
Center | Centers text between left and right margins | X |  | 30.4.2
CodeAfter | Puts code from [ParaStyleCodeAfter] or [CharStyleCodeAfter] after closing tag | X | X | 37.9.3
CodeAfterAnum | Puts code from [AnumCodeAfter] after autonumber | X |  | 37.9.3
CodeBefore | Puts code from [ParaStyleCodeBefore] or [CharStyleCodeBefore] before opening tag | X | X | 37.9.3
CodeBeforeAnum | Puts code from [AnumCodeBefore] before autonumber | X |  | 37.9.3
CodeEnd | Puts code from [ParaStyleCodeEnd] or [CharStyleCodeEnd] before closing tag | X | X | 37.9.3
CodeReplace | Replaces content with code from [ParaStyleCodeReplace] or [CharStyleCodeReplace] | X | X | 37.9.3
CodeStart | Puts code from [ParaStyleCodeStart] or [CharStyleCodeStart] after opening tag | X | X | 37.9.3
CodeStore | Stores content in macro variable named in [StyleCodeStore] | X |  | 37.3.5.2
ColGroup | Marks enclosing cell as a header cell that starts a column group | X |  | 35.2.2.2
ColorN | Makes text color N, where N is in the range 1 - 254 | X | X | 30.4.4
Comment | Makes paragraph a comment, replacing tags | X | X | 30.2.4
Config | Makes content act as a configuration override for all outputs | X |  | 42.3
Contents | Includes content in this format in the TOC | X |  | 16.4.2
CSSReplace | Gets code for CSS from [ParaStyleCSS] or [CharStyleCSS] | X | X | 31.8.3
Delete | Omits content from text output | X | X | 30.2.6
DListDD | Uses dd instead of dt for items in dl lists | X |  | 30.11.2.1
DropDown | Content is a block to be expanded; bracket with macros | X |  | 16.9.3.1
DropDownBlock | Content is a block to be expanded | X |  | 16.9.3.1
DropDownEnd | Content is last paragraph in expandable block | X |  | 16.9.3.1
DropDownLink | Content is a link to expandable text | X | X | 16.9.3.1
DropDownStart | Content is a link, next content is an expandable block | X |  | 16.9.3.1
ExtrDisable | Turns off extract processing | X |  | 27.4.1
ExtrEnable | Turns on extract processing | X |  | 27.4.1
ExtrEnd | Paragraph ends an extract, but is not part of the extract | X |  | 27.4.2.1
ExtrFinish | Paragraph is the last item in an extract | X |  | 27.4.2.1
ExtrStart | Paragraph begins an extract | X |  | 27.4.2.1
Figure | Uses paragraph for anchor tag to ensure wrapping image in <fig> | X |  | 24.7.2
FileName | Uses content to name split files | X |  | 43.3.3.1
GlossTerm | Uses content for a glossary term in JavaHelp | X |  | 20.7.2
HTMConfig | Makes content act as a configuration override for HTML output | X |  | 42.3
Ital | Italics: encloses text in this format in <i>...</i> | X | X | 30.4.3
Left | Aligns text with left margin | X |  | 30.4.2
LEnd | Non-list format that ends any prior lists | X |  | 30.11.2.1
LFirst | Content in this format starts a list | X |  | 30.11.2.1
LinkClass | Makes content into CSS class attribute value | X |  | 34.3.2
LinkSrc | Puts code from [StyleLinkSrc] in href attribute | X | X | 37.9.3
LinkTitle | Makes content into title attribute value | X |  | 34.3.2
ListN | List1 - List12 specify different list styles | X |  | 30.11.2.1
LLevelN | LLevel1 - LLevel30 specify nesting levels | X |  | 30.11.2.1
LNest | Nests in an enclosing list | X |  | 30.11.2.1
Longdesc | Makes content into longdesc attribute value | X |  | 34.2.2
Meta | Makes content a <meta content=...> attribute value | X |  | 27.5.3
NoAnum | Excludes autonumber from non-list formats | X |  | 30.2.2
NoColID | Prevents assignment of id for ColIDs (enabled in [Tables]) | X |  | 35.2.2.2
NoColor | Omits <font color=...> for this format | X | X | 30.4.4
NoContLink | Suppresses linkage for the corresponding TOC item in HTML Help | X |  | 18.9.5
NoCSS | Omits any CSS entry for this format | X | X | 31.8.3
NoFig | Uses paragraph for anchor tag to prevent wrapping image in <fig> | X | X | 24.7.2
NoPara | Eliminates only paragraph tags, for use in macros | X | X | 30.2.4
NoRef | Forces links to top of page by suppressing part of link after file name | X | X | 28.3.1
NoSize | Omits size attribute from <font> tags for this format | X | X | 30.4.4
NoSplit | Prevents format from interfering with SmartSplit | X |  | 27.3.2.2
NoTags | Suppresses attributes and omits any tags between <p> and </p> | X | X | 30.2.4
NoWrap | Suppresses \n line breaks and preserves leading spaces | X |  | 30.2.4
Plain | Turns off Bold, Ital, Uline, and Strike format properties | X | X | 30.4.3
ParaLinkClass | Links have a class assigned in [StyleParaLinkClass] | X |  | 28.2.2.2
Raw | Suppresses all tags to allow macro inclusions between document elements | X | X | 30.2.4
Right | Aligns text with right margin | X |  | 30.4.2
RowAttribute | Attributes in [StyleRowAttribute] are applied to enclosing row | X |  | 33.4.5
RowGroup | Marks enclosing cell as a header cell that starts a row group | X |  | 35.2.2.2
Scope | Gets value for scope attribute from [StyleCellScope] | X |  | 35.2.2.2
SizeN | Size1 - Size7 sets font size attribute to 1 through 7, corresponding to maximum point sizes 8, 10, 14, 20, 28, or 36 | X |  | 30.4.2
Span | Causes assignment of ColSpanID or RowSpanID, as enabled in [Tables] | X |  | 35.2.2.2
Split | Starts a new HTML page | X |  | 27.3.1
Strike | Strikethrough: enclose text in this format in <strike>...</strike> | X | X | 30.4.3
Summary | Makes content into summary for table tag | X |  | 34.4.3.2
TableBody | Forces containing cell tag to td instead of th | X |  | 35.2.2.4
TableHead | Forces containing cell tag to th instead of td | X |  | 35.2.2.4
TableTitle | Makes content into title attribute for table | X |  | 34.4.3.2
TextStore | Stores content in macro variable named in [StyleTextStore] | X |  | 37.3.5.1
Title | Content in this format becomes HTML page title | X |  | 22.4.5
Trail | Includes content in breadcrumb trail of links | X |  | 29.2.3
ULine | Underline: encloses text in this format in <u>...</u> | X | X | 30.4.3
Window | Opens topic in window named in [StyleWindow] for HTML Help | X |  | 18.8.3.1

Previous Topic: 30.4 Assigning properties to text formats

Next Topic: 30.4.2 Overriding paragraph alignment and size properties

Parent Topic: 30.4 Assigning properties to text formats

Sibling Topics:

30.4.2 Overriding paragraph alignment and size properties

30.4.3 Overriding properties added by typographic elements

30.4.4 Overriding properties specified in font tags

Table of Contents • Index