[thelist] Q on xHTML and DTD
Lee Kowalkowski
lee.kowalkowski at googlemail.com
Wed Mar 4 11:03:22 CST 2009
2009/3/4 Walter Torres <jswalter at torres.ws>:
> Quoting Lee Kowalkowski <lee.kowalkowski at googlemail.com>:
>
>> 2009/3/3 Walter Torres <jswalter at torres.ws>:
>>> After reading this article...
>>>
>>> http://www.alistapart.com/articles/customdtd/
>>>
>>> I tried to make it work...
>>>
>>> http://torres.ws/doc_test.html
>>>
>>> Can anyone tell me why the page displays the right square and the
>>> right angle brackets?
>>
>> Hi Walter, it looks like you have an extra > before your attribute
>> list. Does that fix it?
>
> This is the DOC TYPE line
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
> "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
> [
> <!ATTLIST html id ID #IMPLIED >
> ]
>
> >
>
>
> Sorry, but I do not se an extra '>' character in here.
>
> Am I just blind?
Ha! Yes! (Not really). I did a view source in Google Chrome, produces this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
[ ><!ATTLIST html id ID #IMPLIED > ] >
Yeah, view source in any other browser, for the honest version... LOL.
--
Lee
More information about the thelist
mailing list