- From: David Dorward <david@dorward.me.uk>
- Date: Thu, 14 Sep 2006 10:54:46 +0100
- To: Dominik Leiner <oFb@msd-media.de>
- Cc: Matias <yuyera@gmail.com>, www-validator@w3.org
On Wed, Sep 13, 2006 at 08:13:00PM +0200, Dominik Leiner wrote: > Outcomment the script-code to avoid this error. Example: > > <script type="text/javascript"> > <!-- > alert("Hallo Welt!"); > //--> > </script> Don't do that, it breaks the script (it might not /look/ like it does, but only if you only test your XHTML as text/html - which makes it rather pointless to be using XHTML in the first place). See http://www.w3.org/TR/xhtml1/#h-4.8 and http://www.w3.org/TR/xhtml1/#C_4 and http://www.hixie.ch/advocacy/xhtml -- David Dorward http://dorward.me.uk
Received on Thursday, 14 September 2006 09:54:53 UTC