W3C home > Mailing lists > Public > www-html@w3.org > February 2003

Applet, Target, Object, Embed in XHTML 1.1

From: David Laroche <david.laroche@nobug.lu>
Date: Sun, 2 Feb 2003 15:24:21 +0100
To: <www-html@w3.org>
Message-ID: <000801c2cac6$ccf04930$6500a8c0@xenon>

Hi there,

I read a lot now about applet & co. but I didn't understood a lot ...

Can somebody tell me how I correctly have to write my html, so that it
is xhtml 1.1 validated for a java applet?

I have this:

<applet style="position:absolute;" codebase="/java"
code="newsticker.class" width="100%" height="15" alt="Java Newsticker">
	<param name="applet_width" value="100%" />
	<param name="applet_height" value="15" />
	...
</applet>

This is marked as an error by w3c's xhtml validator.

Then I want to insert a flash movie on my page, how does this work?

I have (but isn't correct);
 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflas
h.cab#version=6,0,29,0" width="480" height="95">
    <param name="movie" value="flash/header.swf" />
    <param name="quality" value="high" />
    <embed src="flash/header.swf" quality="high"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" width="480" height="95"></embed>
  </object>

What's the correct version?

Then I want to make a link to another page that should open in a new
windows, how do I have to write this? Because the attribute target isn't
supporter in xhtml anymore.

Do I have to do this with javascript?

Thank you!

Best Regards,
David Laroche
Received on Sunday, 2 February 2003 09:25:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:54 GMT