W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2004

Re: Puzzled by lack of HTML, HEAD and BODY tags in output

From: Rijk van Geijtenbeek <rijk@opera.com>
Date: Wed, 28 Jul 2004 15:24:13 +0200
To: "HTML-tidy list" <html-tidy@w3.org>
Message-ID: <opsbuninqdicz8n2@rijk-01.lan>

On Wed, 28 Jul 2004 12:54:04 +0100, John Bray <home@johnbray.org.uk> wrote:

> So it does. I was expecting -omit to miss things like the </p> and </li>
> tags, rather than the overall document ones. I wonder why it does both?

Why not? -omit removes *all* optional tags. Fine for minimizing document  
size, and HTML 4 allows it (XHTML doesn't btw). This is a valid HTML 4.01  
Strict document:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<title>Title</title>
<p>Paragraph

-- 
The Web is a procrastination apparatus:    |  Rijk van Geijtenbeek
It can absorb as much time as              |   Documentation & QA
is required to ensure that you             |   Opera Software ASA
won't get any real work done.  - J.Nielsen |  mailto:rijk@opera.com M
Received on Wednesday, 28 July 2004 09:24:43 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:54 UTC