Sample HTML code for creating a formatted table (one row colored white, the other yellow) in a Web page or HTA.
<table width="100%"> <tr bgcolor="white" align="center" valign="top"> <td>Row 1, Column 1</td> <td>Row 1, Column 2</td> </tr> <tr bgcolor="yellow" align="right" valign="top"> <td>Row 1, Column 1</td> <td>Row 1, Column 2</td> </tr> </table>
<table width="100%"> <tr bgcolor="white" align="center" valign="top"> <td>Row 1, Column 1</td> <td>Row 1, Column 2</td> </tr> <tr bgcolor="yellow" align="right" valign="top"> <td>Row 1, Column 1</td> <td>Row 1, Column 2</td> </tr> </table>