W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2002

Tags lacking a terminating '>' are spotted

From: ewitness - Ben Fowler <bfowler@ewitness.co.uk>
Date: Tue, 5 Feb 2002 11:44:50 +0000
Message-Id: <f04330100b8843cec2a6c@[192.168.254.56]>
To: html-tidy@w3.org
Here is a topic from the Tidy documentation -

       This is something you then have to fix yourself as
       Tidy is unsure of where the > should be inserted.

Are there example web pages or markup where tags missing their TAGC
cause ambiguity?

I had simply assumed that under SGML rules, tags were closed
when a new STAGO was seen, exempli gratia:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html
   <head

     <title</title>

   </head
   <body

   </body>
</html>

and it was never possible to be "unsure" where the TAGC belonged.

An introduction to this topic has been written by Jukka Korpela
<URL: http://www.cs.tut.fi/~jkorpela/html/empty.html >, but to
be fair to both the author and potential readers, I suspect that
you would need to go to the technical documentation before you
had a deep understanding of the the issues involved.

To repeat, are there any simple examples of ambiguity
owing to missing TAGCs; if not, what is HTML-tidy driving
at here?

Ben.
Received on Tuesday, 5 February 2002 08:37:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:51 GMT