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

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