lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] Re: progress on dev.10


From: David Dorward
Subject: Re: [Lynx-dev] Re: progress on dev.10
Date: Tue, 09 Sep 2008 11:43:09 +0100
User-agent: Thunderbird 2.0.0.16 (X11/20080724)

Thomas Dickey wrote:
> On Tue, 9 Sep 2008, David Woolley wrote:
>> This should be conditioned on the media type not on the DOCTYPE.
> hmm - you're saying to ignore
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
Except for the purposes of validating or expending entities, yes.
> (there's no media type in the file, though the linked css files have
> media types associated with them)
See http://www.w3.org/TR/html4/struct/links.html#adef-type-A

The type attribute elements says "If you go to this URL, expect the
server to send back content of this media type" so that user agents can
avoid requesting data they don't expect to be able to process. If the
resource is requested, then the HTTP headers sent back by the server
determine what the content is processed as, not the type attribute.

-- 
David Dorward
http://dorward.me.uk/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]