> What the HTML spec does not require is for the HEAD section to come
> first.  So if you must include the HEAD section at the end of the
> document, that would be fine.

That's incorrect, the standard does indeed require the HEAD section to
preceed the BODY.

In http://www.w3.org/TR/REC-html40/struct/global.html#h-7.3
an HTML document is defined by the following DTD snippet:
    <!ENTITY % html.content "HEAD, BODY">

    <!ELEMENT HTML O O (%html.content;)    -- document root element -->
    <!ATTLIST HTML
      %i18n;                               -- lang, dir --
      >

Refering to http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.3.3
the comma between "HEAD" and "BODY" indicates that "both A and B occur,
in that order".

ELB

--
Eric L. Brine  |  Chicken: The egg's way of making more eggs.
[EMAIL PROTECTED]  |  Do you always hit the nail on the thumb?
ICQ# 4629314   |  An optimist thinks thorn bushes have roses.

Reply via email to