I want to do something like [this](https://stackoverflow.com/questions/13630229/onclick-in-css) but to a `table`- instead of a `div`-tag.

If I use `:active` it doesn't display the table when I click on the anchor and when I use `:target` it shows the table before clicking on the anchor.

Here's my code:

```
<table id="addForm">
    <tr><td class="label">Address:</td><td><input type="text"></td></tr>
    <tr>
        <td class="label">Type of Toilet:</td>
        <td>    
            <input type="radio" name="sex" value="Male" checked>Male
            <input type="radio" name="sex" value="Female"> Female
            <input type="radio" name="sex" value="Both">Both
        </td>
    </tr>
    <tr>
        <td class="label">Review:</td>
        <td><input type="text"></td>
    </tr>
    <tr><td class="label">Rating:</td></tr>
</table>

```

CSS:

```
#addForm {
    display:none;
}

#addForm:active{
    display:block;
    font-style:Sans-serif;
    width:320;
    font-size:12;
    font-weight:bold;
}

```