This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

applet – obsolete

applet

For technical reasons, the title of this article is not the text used to call this API. Instead, use applet

Summary

<applet>はJavaアプレットをウェブページに埋め込む際に使用します。

Overview Table

DOM Interface
HTMLAppletElement

<applet>要素はHTML4.01で非推奨となり、HTML5の登場でほとんど使われなくなりました

Examples

以下はウェブページに「myApplet」というJavaアプレットを埋め込む例です。

<applet code="myApplet.class" width="500" height="500">
My Java applet goes here!
</applet>

Notes

備考

<applet>要素でJavaアプレットを実行する場合、ユーザのPCにJavaランタイム環境(JRE)がインストールされている必要があります。

Related specifications

HTML 4.01
W3C Recommendation
HTML5
W3C Candidate Recommendation

Attributions