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

Re: Applet, Target, Object, Embed in XHTML 1.1

From: Jonas Jørgensen <jonasj@jonasj.dk>
Date: Sun, 02 Feb 2003 16:31:10 +0100
Message-ID: <3E3D39BE.4030104@jonasj.dk>
To: www-html@w3.org

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

Your example codes uses the <applet> and <embed> elements, neither of 
which exist in XHTML 1.1. That's the reason the validator won't accept 
your document.

To include applets, flash movies and other objects, use the <object> 
element: http://www.w3.org/TR/html4/struct/objects.html#edef-OBJECT

> Then I want to make a link to another page that should open in a new
> windows, how do I have to write this?

You don't. Leave it to the user to open the link in a new window if they 
so desire.

Received on Sunday, 2 February 2003 10:31:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:02 UTC