[thelist] Q on xHTML and DTD

Walter Torres jswalter at torres.ws
Wed Mar 4 10:18:44 CST 2009


Quoting Jens Brueckmann <jens.brueckmann at gmail.com>:

>>   http://torres.ws/doc_test.html
>>
>> Can anyone tell me why the page displays the right square and the
>> right angle brackets?
>
> The document is served as text/html.
> The first occurence of a GREATER THAN sign is interpreted as closing the DTD.

mm, yes, my firefox indicates the sam thing.

I was under the impression by adding htis line to the HEAD...

    <meta http-equiv="content-type"
          content="application/xhtml+xml;charset=utf-8" />

The file would be servers as "application/xhtml+xml"

Obviously not. How then do I server pages as "application/xhtml+xml"?

Thx

Walter






More information about the thelist mailing list