<!DOCTYPE html>
<style>
.test::after {
    content:"::after content";
}
</style>
<table>
  <tr>
    <td class="test">
      Cell contents
    </td>
  </tr>
</table>