<!DOCTYPE html>
<table>
  <tr>
    <td class="test">
      Cell contents
      <span>::after content</span></td>
  </tr>
</table>