check such cases inside tidy validatior. div inside a element for example not allowed.
You are right : table and div in a element are not allowed.
I didn't know that. Thanks.
Tiny Validator is very useful.
For a div clickable wich is seen by the search engines, there is a work around :
style="display:block;width:100%;height:100%;" in the a element (ie in the h:outputText).