YOU ARE VIEWING ARCHIVAL DOCUMENTATION FOR ioL VERSIONS 0.9x. Go to doc.iol.science for the latest version.
ioL

Programming manual (doc0.iol.science)



<td>

Defines a table data cell within a table row. This tag can contain arbitrary marked-up content in its default field, which is presented on the screen within the table.

This tag must only be placed within the default field of a table row tr tag, otherwise undefined behaviour results.

Note that dynamic rendering of table content can produce suboptimal rendering performance. For best results, hide the entire table by setting the table's visible field to false, then set the field to true to show the table once all the table rows within are fully defined.

Example table

This example shows how to use tr and td tags within a table tag to create a simple table layout on the screen, used to track scores at a volleyball tournament. The output is shown below.


<table
  <tr bold=true  <!first row of table!>
    <td {Player}> 
    <td {Score}>
  >
  <tr  <!second row of table!>
    <td {Curie}>
    <td 21>
  >
  <tr  <!third row...!>
    <td {Newton}>
    <td 25>
  >
  <tr  <!... etc !>
    <td {Lovelace}>
    <td 20>
  >
  <tr 
    <td {Shannon}>
    <td 24>
  >
>

Player Score
Curie 21
Newton 25
Lovelace 20
Shannon 24

Fields

The default field specifies text content, including markup tags and special elements, to be contained inside the table data cell.

Additionally, the following named fields can be defined on this tag. Please refer to the field reference section of this site for details on each field.