Re: Understanding Tidy

Yes, I had found that.

At 14:09 12/8/2000, Gary L Peskin wrote:
 >Howard Kaikow wrote:
 >>
 >> 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.
 >
 >Keep looking.  At http://www.w3.org/TR/html4/sgml/loosedtd.html#basefont
 >in the definition for the FONT element, the only permitted content is
 >%inline.
 >
 >%inline, in turn, is defined as:
 >
 >  #PCDATA | %fontstyle; | %phrase; | %special; | %formctrl;
 >
 >These entities, in turn, are defined as:
 >
 >%fontstyle; is TT | I | B | U | S | STRIKE | BIG | SMALL
 >
 >%phrase;    is EM | STRONG | DFN | CODE | SAMP | KBD | VAR | CITE | ABBR
 >| ACRONYM
 >
 >%special;   is A | IMG | APPLET | OBJECT | FONT | BASEFONT | BR | SCRIPT
 >| MAP
 >             | Q |SUB | SUP | SPAN | BDO | IFRAME
 >
 >%formctl;   is INPUT | SELECT | TEXTAREA | LABEL | BUTTON
 >
 >In particular, note that UL is nowhere to be found in this list.
 >
 >HTH,
 >Gary

Received on Friday, 8 December 2000 17:36:28 UTC