
Web Browser for the 4625SW IP Telephone
190 4600 Series IP Telephones Application Programmer Interface (API) Guide
Third <a> tag Example
In this example neither the <card> nor the <wml> tags has any style attributes, so there is
nothing to which to default. The <p> tag has a style defined such that it gets a background color
of blue and font color of red. The first link (<a> tag) has a background-color defined as green
and font color in blue. However, the second link (<a> tag) does not have any style defined, so it
inherits the color selection from the <p> tag. The third link, the <a> tag, has no properties
defined nor does it have an immediate parent <p> tag. Since no style is defined, the link is
rendered with the default background color and font color.
<wml>
<card title=”Card 1”>
<p style= ”background-color:blue;color:red”>
Sample Text
<a href=”1.wml” style= ”background-color:green;color:red”>
First Link
</a>
<a href=”2.wml”>
Second Link
</a>
</p>
<p>
<a href=”3.wml”>
Third Link
</a>
</p>
</card>
</wml>
Commenti su questo manuale