Re: Custom attributes in HTML elements

Leif Halvard Silli, Fri, 12 Feb 2010 11:31:58 +0100:
> Jukka K. Korpela, Fri, 12 Feb 2010 06:17:49 +0200:
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>>   "http://www.w3.org/TR/html4/loose.dtd"
>>   [ <!ATTLIST P foo         CDATA     #IMPLIED ]>
>> 
>> 
>> And you document would validate. 
> 
> Could you check if you used the correct syntax above? I Don't get the 
> above to validate. Did you misplace the first "[", perhaps? Or the last 
> one?

It found out that it should have been ">]>" at the end:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
[<!ATTLIST P foo CDATA #implied>]>

And I also get the problem with "]>" displaying in the text.
-- 
leif halvard silli

Received on Friday, 12 February 2010 11:47:09 UTC