Text Elements
The WML language by nature is a text formatting language. Several WML text elements can be used to influence the display of text, including the use of special characters and character encoding. Note that how these elements are rendered depends partially on the wireless device being used.
The P Element (Chapter 4)
The P element controls how all text displays on a WAP device’s screen.
Syntax
The following code snippet presents the syntax of the P element:
<p attribute>
content
</p>
Attributes
Table A.5 presents the attributes of the P element.
Attribute | Required | Description |
---|---|---|
align | No | Specifies the line alignment relative to the display area. If no value is specified, the align attribute defaults ... |
Get WAP 2.0 Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.