30.2 Mapping paragraph formats
By default, if you do not explicitly map formats to
HTML tags, DITA2Go does the following:
- Uses <p> as the tag for
all paragraph formats.
- Treats all character formats
as overrides.
- Creates tags for all format
properties, including overrides.
- Converts all tag names to valid
CSS names, without spaces or non-alphanumeric characters, leading digits,
or accented characters (the latter become unaccented).
This might be adequate, especially if you are using
CSS. However, you might want your headings to come out with <hn> styles, your emphasized
text to be tagged <em>, and your lists
to become real HTML indented lists, without requiring CSS.
In this section:
§30.2.1
Assigning HTML tags and attributes to paragraph formats
§30.2.2 Designating
script paragraph formats
§30.2.3
Overriding paragraph properties
§30.2.4
Stripping paragraph properties
§30.2.5
Providing content for empty paragraphs
See also:
§30.8
Configuring preformatted text for HTML/XML
§30.9
Converting footnotes to HTML or XML
§30.10
Converting list formats to HTML (deprecated)
Previous Topic: 30.1 Choosing
how to map formats
Next Topic: 30.2.1 Assigning
HTML tags and attributes to paragraph formats
Parent Topic: 30. Mapping text formats
to HTML/XML
Sibling Topics:
30.1 Choosing
how to map formats
30.3 Mapping character
formats
30.4 Mapping
special characters
30.5 Mapping
fonts
30.6 Managing
typographic elements for HTML or XML
30.7 Specifying
text colors
30.8 Configuring
preformatted text for HTML/XML
30.9 Converting
footnotes to HTML or XML
30.10 Converting
list formats to HTML (deprecated)