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/ _______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev
