|
Posted by Andy Dingley on 11/10/85 11:48
On Tue, 23 May 2006 23:37:39 +0300, "Jukka K. Korpela"
<jkorpela@cs.tut.fi> wrote:
>dingbat@codesmiths.com <dingbat@codesmiths.com> scripsit:
>
>> Jukka K. Korpela wrote:
>>> Chaddy2222 <rockradio2000@yahoo.com.au> scripsit:
>>>
>>>> The document type decleration (DTD) tells the web browser what type
>>>> the document is and what set of rules to use when displaying the
>>>> website.
>>>
>>> No it doesn't.
>>
>> While Chaddy's answer is certainly partial (I too am too bored to
>> bother re-posting half of Google) in what way is it strictly "wrong" ?
>
>It is wrong*) because it is contrary to actual facts. That is, neither the
>document type declaration nor the DTD**) says such a thing, in principle or
>in practice.
OK, now I see your point (to some extent). The DTD clearly doesn't tell
the browser anything because it doesn't even get loaded.
So how would you feel about this:
"The document type declaration (*) tells the web browser what type
the document is and what set of rules to use when displaying the
website."
What's wrong with that? I'm pretty pedantic, but I can't pick a hole
in that without stretching the meaning of "type" almost to breaking
point. Commonplace browsers _do_ categorise the content offered, they do
this according to rules that do involve the doctype, and they do vary
their rendering behaviour on the basis of this.
Secondly, what might you replace "*" with ? "Doctype" is the
colloquial argot for it, but would you agree with that?
Navigation:
[Reply to this message]
|