Educational material
- exercisenumber
- for instance
<span class="exercisenumber">100</span>
- exercisepart
- for instance
<span class="exercisepart">a)</span>
- answer
- field to write answer to a general exercise
- answer_1
- field to write answer to a fill-in-the-blank exercise
- box
- "radio" input checkbox to answer a multiple-choice exercise
Sectioning
- frontcover
- section child of cover page
- rearcover
- section child of cover page
- leftflap
- section child of cover page
- rightflap
- section child of cover page
- linegroup
- Lines, for instance in the verse of a poem, can be grouped together in a linegroup.
If the linegroup has a headline, this should be a section element.
Otherwise it should be a div element.
- image-series
- Images occuring in groups should be wrapped in a figure element with the image-series class
Inline text styling
These classes must be applied to a <span>
element containing
the relevant text content.
Text values
- bold
- italic
- handwritten
- crossed-out
- underlined
Colored text values
- maroon
- red
- orange
- yellow
- olive
- purple
- fuchsia
- white
- lime
- green
- navy
- blue
- aqua
- teal
- silver
- gray
Colored background values
- maroon-bg
- red-bg
- orange-bg
- yellow-bg
- olive-bg
- purple-bg
- fuchsia-bg
- lime-bg
- green-bg
- navy-bg
- blue-bg
- aqua-bg
- teal-bg
- black-bg
- silver-bg
- gray-bg
Other
- line
- p-child of linegroup
- linenum
- span-child of line
- image
- on figure when representing a image
- lic
- list item component; used for page numbers in table of contents
- page-normal
- all pagebreaks must have one of the 'page-normal', 'page-front' or 'page-special' classes.
page-normal is used for pagination occuring in all major divisions of the book, where the
numbering is positive whole numbers.
- page-front
- pagebreaks in frontmatter that are not logically continued in bodymatter
(for instance roman numerals)
- page-special
- pagebreaks that are repeated, unnumbered, or not numbered in a standard manner
must have this class
- nonstandardpagination
- used with page-special
- emptyline
- on hr, meaning: thematic breaks represented by an empty line between paragraphs
- separator
- on hr, meaning: thematic breaks represented by a visual marker such as an asterisk
or horizontal rule between paragraphs. The visual marker must not be rendered
in the content document
- asciimath
- on span with asciimath inside, for instance
<span class="asciimath">`math expression`</span>
- isbn
- on paragraph in cover page
- author
- on paragraph in cover page
- title
- on paragraph in cover page
- publisher
- on paragraph in cover page
Classes introduced by DTBook-to-EPUB3 conversion
These classes are not in the Nordic EPUB3 Profile itself, but are used to map
DTBook content to HTML.
- byline
- contains information about the creator of or contributor to a work
(typically used on a paragraph)
- dateline
- dateline contains information about the time and/or place at which a work was
authored (typically used on a paragraph)
- title
- the title of a poem or citation
- list-preformatted
- a preformatted list contains bullets or numbers as text, so the CSS rule
list-style-type: none;
should be applied
- table-summary
- The summary attribute on the table element has been removed from HTML5;
this is the equivalent and is applied to a paragraph in the table caption
- render-required
- Indicates that the content is essential for the user and should not be skipped.
- render-optional
- Indicates that the content is optional, and some user preference
may allow skipping over the content.
NOTE: render-required and
render-optional are used when mapping DTBook prodnotes to HTML aside/section.
We may decide to map prodnotes to the HTML figure element when render="optional"
instead of including it as a class (this is what we currently do for sidebars).