bad error, but title is required in xhtml. On Sep 28, 2006, at 10:20 PM, Mike Gradek wrote: > Validating > > > > When validating the following document, an error is reported about > lack of XML well-formedness > > > > · Error Line 5 column 6: end tag for "head" which is not finished. > > </head> > > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// > www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <html> > > <head> > > <style type="text/css" media="all">@import "./ > browserspecific.css";</style> > > </head> > > <body> > > <h1>Css selectors for specific browsers</h1> > > <div id="doctype">Current doc type<cite><!DOCTYPE html PUBLIC > "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/ > xhtml1-strict.dtd"></cite></div> > > <div class="Firefox">You are using <strong>Firefox or Opera</ > strong></div> > > <div class="ie6">You are using <strong>IE6</strong> <pre>Browser- > specific selector prefix: <em>* html</em></pre></div> > > <div class="ie7">You are using <strong>IE7</strong> <pre>Browser- > specific selector prefix: <em>*:first-child+html</em></pre><a > href="http://nanobox.chipx86.com/blog/2006/04/easy-css-hacks-for- > ie7.php">Consult source</a></div> > > </body> > > </html> > > > > > > Adding a title tag, as below, makes the error go away. > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// > www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > <html> > > <head> > > <title>Strict Page</title> > > <style type="text/css" media="all">@import "./ > browserspecific.css";</style> > > </head> > > <body> > > <h1>Css selectors for specific browsers</h1> > > <div id="doctype">Current doc type<cite><!DOCTYPE html PUBLIC > "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/ > xhtml1-strict.dtd"></cite></div> > > <div class="Firefox">You are using <strong>Firefox or Opera</ > strong></div> > > <div class="ie6">You are using <strong>IE6</strong> <pre>Browser- > specific selector prefix: <em>* html</em></pre></div> > > <div class="ie7">You are using <strong>IE7</strong> <pre>Browser- > specific selector prefix: <em>*:first-child+html</em></pre><a > href="http://nanobox.chipx86.com/blog/2006/04/easy-css-hacks-for- > ie7.php">Consult source</a></div> > > </body> > > </html> > > > > > > I believe the error message should be updated to better represent > the issue. > > > > Cheers, > > Mike > > > > Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ ▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒ ░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░ ▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒ ░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░ ▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒░▒ jake@queernet.orgReceived on Friday, 29 September 2006 06:42:56 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:58 UTC