简体   繁体   English

哪个HTML标记适用于Java applet(APPLET,EMBED,OBJECT)?

[英]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. 我的理解是不推荐使用APPLET,OBJECT是用于Java applet的首选标记。 Is this correct? 它是否正确? A lot of Java applet examples, both on the web and in books, still seem to use the APPLET tag. 许多Java applet示例,无论是在Web上还是在书籍中,似乎仍然使用APPLET标记。

Are there any browser compatibility issues that OBJECT suffers from (compared to APPLET)? OBJECT是否存在任何浏览器兼容性问题(与APPLET相比)?

Also, can you provide an example of proper OBJECT tag usage for Java applets? 另外,您能为Java applet提供正确的OBJECT标记使用示例吗?

Here is your best bet . 这是你最好的选择 And here are the examples for all tags. 以下是所有标签的示例

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM