- From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
- Date: Fri, 5 Feb 2010 15:31:17 +0100
- To: David Dorward <david@dorward.me.uk>
- Cc: Tatham Oddie <tatham@oddie.com.au>, 'Cory S' <veneno-games@hotmail.com>, www-validator@w3.org
David Dorward, Fri, 5 Feb 2010 07:26:53 +0000: > > On 5 Feb 2010, at 04:36, Leif Halvard Silli wrote: > >> Tatham Oddie, Thu, 4 Feb 2010 22:57:18 +1100: >>> To fix the remaining errors, look at using either Flash Satay >>> (http://www.alistapart.com/articles/flashsatay) or SWFObject >>> (http://code.google.com/p/swfobject/). >> >> Here is a way to insert a foreign element into a HTML4 document in a >> syntactically valid and User Agent compatible way: >> >> <script type=""><!--</><![CDATA[--></script> >> <embed src="http://example.org/" ></embed> >> <!--]]>--> > > The term hideous hack springs to mind. Your remark about '--' inside HTML comments in the parallel thread made me realize that there is (usually) a simpler way: <!-- -- --> <embed src="http://example.org/" ></embed> <!-- -- --> The sky is the limit: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> <!-- -- --> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <!-- -- --> <title>title</title> -- leif halvard silli
Received on Friday, 5 February 2010 14:31:52 UTC