Вышла из употребления: Эта возможность вышла из употребления. Хотя она может продолжать работать в некоторых браузерах, её использование не рекомендуется, поскольку она может быть удалена в любое время. Старайтесь избегать её использования.

Элемент HTML апплет (<applet>) определяет включение апплета java.

Примечание: <applet> элемент был удалён в Gecko 56 и Chrome в конце 2015 года. Удаление рассматривается в WebKit и Edge.


Этот атрибут используется для установки апплета на странице относительно содержания, которая может течь вокруг него. В HTML 4.01 определяет значения снизу, слева, посередине, справа и сверху, в то время как Microsoft и Netscape также может поддерживать absbottom, absmiddle, baseline, center, и texttop.
This attribute causes a descriptive text alternate to be displayed on browsers that do not support Java. Page designers should also remember that content enclosed within the <applet> element may also be rendered as alternative text.
This attribute refers to an archived or compressed version of the applet and its associated class files, which might help reduce download time.
This attribute specifies the URL of the applet's class file to be loaded and executed. Applet filenames are identified by a .class filename extension. The URL specified by code might be relative to the codebase attribute.
This attribute gives the absolute or relative URL of the directory where applets' .class files referenced by the code attribute are stored.
This attribute, supported by Internet Explorer 4 and higher, specifies the column name from the data source object that supplies the bound data. This attribute might be used to specify the various <param> (en-US) elements passed to the Java applet.
Like datafld, this attribute is used for data binding under Internet Explorer 4. It indicates the id of the data source object that supplies the data that is bound to the <param> (en-US) elements associated with the applet.
This attribute specifies the height, in pixels, that the applet needs.
This attribute specifies additional horizontal space, in pixels, to be reserved on either side of the applet.
In the Netscape implementation, this attribute allows access to an applet by programs in a scripting language embedded in the document.
This attribute assigns a name to the applet so that it can be identified by other resources; particularly scripts.
This attribute specifies the URL of a serialized representation of an applet.
As defined for Internet Explorer 4 and higher, this attribute specifies a URL for an associated file for the applet. The meaning and use is unclear and not part of the HTML standard.
This attribute specifies additional vertical space, in pixels, to be reserved above and below the applet.
This attribute specifies in pixels the width that the applet needs.


<applet code="game.class" align="left" archive="game.zip" height="250" width="350">
  <param name="difficulty" value="easy">
  <b>Sorry, you need Java to play this game.</b>

Browser compatibility

BCD tables only load in the browser


The W3C specification does not encourage the use of <applet> and prefers the use of the <object> (en-US) tag. Under the strict definition of HTML 4.01, this element is deprecated and entirely obsolete in HTML5.