19 (29)
Figure 4-7 Image and text
Images fitting into the graphics area are centred. Images that are larger than the display are left-
aligned and truncated from the right-hand part (see Figure 4-8). Images that are taller than the display
are top-aligned, and the bottom part of the display is truncated but can be scrolled down (see Figure
4-9).
Figure 4-8 Images too wide are truncated Figure 4-9 Images too high can be scrolled
If a requested image does not exist, a small default picture will be shown. We recommend using the
image ALT attribute value.
Example 4-4 <img>
<wml>
<card id="card1" title="Images">
<p align="center">
A small image
<img alt="part cldy" src="file://…/partcldy.wbmp"/>
displayed with text
</p>
<p align="center">
<img alt="8210"
src="file:///C|/USERS/6210doku/WML/8210.wbmp"/>
<img alt="nokia"
src="file:///C|/USERS/6210doku/WML/120nokia3.wbmp"/>
</p>
<do type="previous" label="Back" optional="false">
<prev/>
</do>
</card>
</wml>
4.2.2  Anchors
Use the <anchor> element to create a link. A link provides easy navigation through an application
and lets the user navigate to a new location. A link can be either text or an image. The <a> element is