TAG:  tr

tr
 
The tr tag is used to create a row in a table element. You can create as many rows as you wish.
 
Each row (tr element) can contain one or more data cells. Each data cell is a td element that can contain data composed of letters, images, links, numbers, strings, and text that you wish displayed in the table.
 
A tr tag should never appear inside of a td element or another tr element. A row composed of empty data cells (td elements) is permitted and will be recognized by the browser.
 
Nested Tags:  td
 
Attributes
 
class
The optional class core attribute is used to assign one or more classes to the element. Multiple classes are separated by white space. The class name is case sensitive (i.e., Stocks and stocks are not the same).
 
id
The optional id core attribute is used to assign an identifying name to a tag. The name must be unique to the entire deck and not just unique to a card. The first character of the name can be any letter or the underscore. The remaining characters can be any combination of letters, numbers, or underscores.
 
Code:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.WAPforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="card 1">
<p>
Text preceding the table.
</p>
<p>
<table title="Table Example" columns="3" align="C">
<tr>
<td>Row 1 Col 1</td>
<td>Row 1 Col 2</td>
<td>Row 1 Col 3</td>
</tr>
<tr>
<td>Row 2 Col 1</td>
<td>Row 2 Col 2</td>
<td>Row 2 Col 3</td>
</tr>
</table>
</p>
<p>
Text following the table.
</p>
</card>
</wml>


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information