Phillip Lemky
Phillip Lemky

Reputation: 303

Which HTML tag is the proper one to use for Java applets (APPLET, EMBED, OBJECT)?

My understanding is that APPLET is deprecated and OBJECT is the preferred tag to use for Java applets. Is this correct? A lot of Java applet examples, both on the web and in books, still seem to use the APPLET tag.

Are there any browser compatibility issues that OBJECT suffers from (compared to APPLET)?

Also, can you provide an example of proper OBJECT tag usage for Java applets?

Upvotes: 3

Views: 474

Answers (1)

Adeel Ansari
Adeel Ansari

Reputation: 39907

Here is your best bet. And here are the examples for all tags.

Upvotes: 3

Related Questions