W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

Re: Understanding Tidy

From: Howard Kaikow <kaikow@standards.com>
Date: Fri, 08 Dec 2000 13:15:05 -0500
Message-Id: <,1>
To: html-tidy@w3.org
I found the following in clause 7.5.3 in the file ..\html40\struct\global.html.

"Generally, block-level elements may contain inline elements and other 
block-level elements. Generally, inline elements may contain only data and 
other inline elements. Inherent in this structural distinction is the idea 
that block elements create "larger" structures than inline elements"

That wording is too loose. The spec needs to be tightened.

At 12:32 12/8/2000, Serge Knystautas wrote:
 >This is from the HTML spec... <font> is an inline element while <ul> is a
 >block element.  You cannot wrap inline elements around block elements.
 >(SGML has nothing to HTML or XML, except to see where tagging concepts
 >started.)  The specs are available at http://www.w3.org/
 >Serge Knystautas
 >Loki Technologies
 >----- Original Message -----
 >From: "Howard Kaikow" <kaikow@standards.com>
 >To: <html-tidy@w3.org>
 >Cc: "Howard Kaikow" <kaikow@standards.com>
 >Sent: Friday, December 08, 2000 12:06 PM
 >Subject: Understanding Tidy
 >> I find it confusing when Tidy tells me I cannot use (leaving out details):
 >> <FONT>
 >> <UL>
 >> <LI>
 >> <LI>
 >> </UL>
 >> <P>Whatever
 >> </FONT>
 >> Tidy wants to see a </FONT> before the <UL>.
 >> Is SGML/HTML really that restrictive?
 >> If so, I'd like to see the specs for this?
 >> In order to understand Tidy, it would help to learn where is the formal
 >> specification on how tags can be nested.
 >> Is this info in the HTML 4 spec? I cannot seem to find the info.
 >> Or do I have to look at the SGML Handbook to learn SGML's rules?
Received on Friday, 8 December 2000 13:15:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC