2021.1

Table Of Contents
HTML element: p, h, li and others
When adding elements, such as text, images or a table, to the content of a template, you are
actually constructing an HTML file, which you can see and edit on the Source tab (see also:
"Editing HTML" on page626).
In HTML, text can be contained in many different elements: paragraphs, span elements, line
items and table cells, for example.
The HTML tag of a paragraph is <p>. The paragraph should be followed by a closing tag: </p>.
A line break looks like this in HTML: <br />.
Only the Source tab requires that you write HTML. In Design or Preview mode the editor adds
HTML tags as needed.
Formatting text
Text can be styled, colored, centered, indented etc. It can even be displayed so that it reads
from right to left. See "Styling text and paragraphs" on page750.
In all templates you can use the fonts that are provided with the Designer, as well as imported
fonts; see "Fonts" on page774.
Translating text
OL Connect templates can be multilingual. For information about multilingual templates and
how to create them, see "Translating templates" on page926.
Snippets
A snippet is a small, ready-to-use piece of content in a file. Snippets can be re-used within the
same template, in all contexts and sections. They can contain any contents that a section can
have, such as text, images, variable data, dynamic tables, etc.
Normally, a snippet is an HTML file, but it can also be a JSON file.
When a snippet is added to different sections or contexts, it is displayed according to the
section's or context's style sheet. This means that the same content can look different
depending on the styles applied to the section or context, without changing the content.
Page 732