Write trait requirements in documentation.

I've not done any generated HTML in the past so please point out any formatting issues.
The trailing `<br />` is not required. I suggest to a new line `\n` instead as `<table>` follows immediately.