W3C home > Mailing lists > Public > public-html@w3.org > January 2009

Re: HTML is a declarative mark-up language

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Fri, 30 Jan 2009 22:12:37 +0000
Message-ID: <49837B55.8040407@Rhul.Ac.Uk>
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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:00 UTC