On 02/02/07, Mitchell Essex <[EMAIL PROTECTED]> wrote:
Serdar,
The problem is that the 'minimal document' is too minimal add a title within
the head tag and something within the body then it should validate fine.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<title>
</title>
</head>
<body>
<p></p>
</body>
</html>
The "errors": relate to the not finished
Another possibility is that you used an element which requires a child
element that you did not include. Hence the parent element is "not
finished", not complete. For instance, <head> generally requires a <title>,
lists (ul, ol, dl) require list items (li, or dt, dd), and so on.
Regards
Mitch
Thanks Mitch, it also appears that the body element must have a child
node that is of an Element type. A "text node" won't suffice, and for
that matter I can't think of a use-case whereby the body would contain
just text. Thanks again.
--
Cheers,
Serdar Kilic
http://weblog.kilic.net/
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************