
Support for Cascading Style Sheets
Issue 1 April 2005 189
Second <a> tag Example
The CSS attributes for the <a> tag are inherited from its parent <p> tag. In the following
example, the parent <p> tag defines the font color of the <a> tag, but the background-color of
the <a> tag overrides the parent <p> tag.
<wml>
<card style=”background-color:green;” title=”Card 1”>
<p>
Sample Text
<a href=”1.wml” style= ”background-color:blue;”>
First Line
<a>
</p>
</card>
</wml>
Kommentare zu diesen Handbüchern