- From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
- Date: Fri, 30 Jan 2009 22:12:37 +0000
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- CC: Robert J Burns <rob@robburns.com>, HTML WG <public-html@w3.org>
Boris Zbarsky wrote:
> Well.... This markup:
>
> <a id="mytable">
> <table><tr><td></td></tr></table>
> </a>
>
> is not valid HTML 4 (or HTML 3.2, for that matter). <a> is not allowed
> to contain <table>.
Agreed, but there is a well-known workaround for that :
<a id="mytable">
<ins>
<table><tr><td></td></tr></table>
</ins>
</a>
which is valid, even if semantically very dubious. But as you
correctly observed, I was not complaining that DW will not
wrap <A> tags around a <TABLE> element -- I am glad that it
does not ! Rather, that it will not wrap <A> tags around
anything, which it most certainly should.
Philip TAYLOR
Received on Friday, 30 January 2009 22:13:13 UTC