<?xml version="1.0"?>
<!DOCTYPE wml SYSTEM "wml12.dtd">
<wml class="root">
<card class="card" id="card1" title="The order">
<onevent type="onenterforward">
<go href="error.wml" />
</onevent>
<timer value="100" />
<do class="button" type="accept" label="Forward">
<go href="#card2" />
</do>
<p>
<b>Hello paragraphs!</b><br />
</p>
<p class="left">
If the <i class="code">card</i> or <i class="code">template</i> element
has the <i class="code">onevent</i> element, it must be first. If the
<i class="code">card</i> element has the <i class="code">timer</i> element, it
must be after the <i class="code">onevent</i> element and before all
<i class="code">do</i>, <i class="code">p</i> or <i class="code">pre</i> tags.<br />
Elements <i class="code">p</i> or <i class="code">pre</i> must be as the parent
element to all other elements, which don't require <i class="code">do</i> as their parent. Some elements can or must be nested
(then those three elements are as ancestor elements to some
other elements). Remember the correct element order also, when you create forms
and tables!<br />
In this <i class="code">card</i> element inside the element <i class="code">do</i> the attribute
value <i class="code">Forward</i> creates a button text <i>Forward</i> to go
to the second card (card2).
</p>
</card>
<card class="card" id="card2" title="A table example">
<p><strong>
<table columns="3" align="LCR">
<tr>
<td>Cell1</td><td>Cell2</td><td>Here is the second card, which has a
table!
The element table must be inside the p
or pre element.
According to the DTD also text layout elements can work as parent
elements.
Nested tables are not allowed!</td>
</tr>
</table>
</strong></p>
<p>
<b><a href="#card3">Go to the next
card!</a></b>
<br />
</p>
</card>
<card class="card" id="card3" title="A form example">
<do type="accept" label="Go to test">
<go method="post" href="/test.pl">
<postfield name="test" value="$(test)" />
</go>
</do>
<p align="center">
<select iname="test" ivalue="1">
<option value="Swim">Swim</option>
<option value="Bike">Bike</option>
<option value="Run">Run</option>
</select>
</p>
<p><img src="../Kuvat/Css/Tools.gif" alt="Image test" />
</p>
</card>
</wml>

