A list of products is a dynamic list, with the number of
content rows dependent on the number of products that meet the search criteria. In this code sample for a product table, the
head and
tail tqOptions enable code that meets
W3C criteria even when the search is empty. (If not for these tqOptions, you could end up with a table without any <tr> and <td> tags.)
<tqtag type="content" name="products">
<tqoption type="head" alternative0="">{!
<table align="center">
!}0</tqoption>
<tr><td>@id@</td><td>@title@</td></tr>
<tqoption type="tail" alternative0="">{!
</table>
!}0</tqoption>
</tqtag>