WML Formatting
Paragraphs and Line Breaks
The <p> tag is primarily used as a container for text and other WML tags.
This tag causes a line break to occur, in that the flow of text and images is halted on the current line, and resumes on the next line.
Thus, each <p>
element starts on a new line in the display.
Note that no additional blank line is inserted such as with the HTML <p>
tag.
Remember, text in WML cannot stand alone, but must be contained in an element.
This tag can be used to set the alignment and line wrapping values for a paragraph which is accomplished using the align
and mode
attributes.
The <br> tag ends the flow of text and images on the current line and starts a new line at the left margin of the display.
This is commonly referred to as a line break.
This is a self-closing tag.