How do I set apply a class on an entire table?

Code:
<table>
   <tr>
        <td>This is the test</td>
        <td>A new line</td>
    </tr>
</table>