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">

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.

Received on Friday, 30 January 2009 22:13:13 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:42 UTC