On Sun, 16 Aug 2009 13:36:02 -0700 Came this utterance formulated by Jim Haungs to my mailbox: > The following simple file, gives the error below when validating by > direct input. Clearly the <head> is properly terminated. > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd "> > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> > > <head> > </head> > > <body> > </body> > > </html> > > > > Line 5, Column 7: end tag for "head" which is not finished > </head> > (The closing angle bracket here is displayed in red.) > > A minimum docoment requires at least a title element, so the error is correct if a little misleading. The head element is not finished. http://www.w3.org/TR/xhtml1/dtds.html#dtdentry_xhtml1-strict.dtd_head [quote]... Exactly one title is required per document.[/quote] A minimum conforming document is given here: http://www.w3.org/TR/xhtml1/#strict and discussed here: http://tantek.com/XHTML/Test/minimal.html -- Michael All shall be well, and all shall be well, and all manner of things shall be well - Julian of Norwich 1342 - 1416Received on Monday, 17 August 2009 09:36:20 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:14 UTC