Bart Lateur wrote:
> In the DTD of HTML 4.01, <http://www.w3.org/TR/html401/sgml/dtd.html>,
> it states that the only legal elements in the BODY element are block
> tags (and a few more: SCRIPT, INS and DEL):
[...]
>
> So, if I get this correctly, it is not legal to put text, or inline
> elements (text formatting, SPAN) directly into a BODY tag. None of these
> tags are implied. Yet, people do it all the time.
>
> What gives? Am I misunderstanding the spec, or a people doing it wrong?
>
People are either doing it wrong, or else using a transitional doctype
where it is allowed.
Nick
--
Nick Theodorakis
nick_theodorakis@hotmail.com
contact form:
http://theodorakis.net/contact.html