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: Cory Nelson <phrosty@gmail.com>
Date: Wed, 28 Jul 2004 06:58:28 -0700
Message-ID: <9b1d061404072806587737f30d@mail.gmail.com>
To: Rijk van Geijtenbeek <rijk@opera.com>
Cc: HTML-tidy list <html-tidy@w3.org>

Doing an -omit on a XHTML document produces the same results

On Wed, 28 Jul 2004 15:24:13 +0200, Rijk van Geijtenbeek <rijk@opera.com> wrote:
> 
> 
> 
> 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
> 
> 


-- 
Cory Nelson
http://www.int64.org
Received on Wednesday, 28 July 2004 09:58:39 UTC

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