W3C home > Mailing lists > Public > www-validator@w3.org > March 2003

Re: Error in W3c HTML 4.01 validator?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 24 Mar 2003 19:05:02 +0100
To: Lars Hallberg <lah@micropp.se>
Cc: www-validator@w3.org
Message-ID: <3eed47a7.418291651@smtp.bjoern.hoehrmann.de>

* Lars Hallberg wrote:
>I found this to be a confusing report, sins when is <ul> only alowed 
>inside aplets and buttons?? The URL of the tested page is www.micropp.se

Well, <ul> is not allowed as child of <font>. <font> allows <applet>,
<object>, <map>, <iframe> and <button> children. Actually more, but
these elements allow <ul> children, thus between

  <font> <!-- and -->
  <ul>

is a

> [...] "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag

missing, i.e.

  <font><applet ...><ul>...
  <font><object ...><ul>...
  <font><map ...><ul>...
  <font><iframe ...><ul>...
  <font><button ...><ul>...

would be valid. This is indeed a confusing error message, but it follows
a certain rationale.
Received on Monday, 24 March 2003 13:04:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:06 GMT