Paragraphs – Ericsson R380 User Manual
Page 11

9
Paragraphs
Text on a WML card comprises one or more paragraphs.
A paragraph always starts on a new line and is preceded by an extra line space of 3 pixels.
Text within a paragraph is by default displayed left aligned. However, it can optionally be
displayed right aligned or centered.
WML
Paragraphs are defined by using the
p
element.
The
p
element also establishes the alignment attribute for a paragraph.
Attribute
Description
align
The
align
attribute can take the following values: left,
right and center. Left alignment is the default alignment
mode.
A paragraph example
The example below shows how the
p
element and the
align
attribute affect the card content
appearance.
LEFT
This text is left aligned. The text will continue until
the end of the line and then wrap to a new line.
CENTER
This text is centered. The text will continue until the
end of the line and then wrap to a new line.
RIGHT
This text is right aligned. The text will continue until
the end of the line and then wrap to a new line.