Re: Samples from the Internet

David Carlisle said:
>
>> Except when using a strict DTD. Then the validator will alert of
>> nesting <a>
>
> No. That constraint (nested a not allowed) can not be expressed in an
> XML DTD. (It can be expressed in SGML, and is in the HTML DTD, but not
> the XHTML one, that's why I mentioned it).
>
>
> David

But w3c validator rejects second <a> on XHTML <p>this is <a>very
<a>important</a></a></p>

Received on Monday, 27 November 2006 19:00:43 UTC