AdNow
loading...
Etiqueta HTML applet
- Obtener vínculo
- X
- Correo electrónico
- Otras apps
Etiqueta HTML <applet> . No se admite en HTML5.
Ejemplo
Un applet de Java incrustado:
<applet code="Bubbles.class" width="350" height="350">
Java applet that draws animated bubbles.
</applet>
Definición y uso
La etiqueta <applet> no es compatible con HTML5. Utilice <embed> o <object> en su lugar.
La etiqueta <applet> define un applet incrustado.
Soporte del navegador
| Element | |||||
|---|---|---|---|---|---|
| <applet> | Not supported | Not supported | Yes | Yes | Not supported |
Nota : Todavía hay algo de soporte para la etiqueta <applet> en algunos navegadores, pero requiere complementos / instalaciones adicionales para funcionar.
Nota: la etiqueta <applet> es compatible con Internet Explorer 11 y versiones anteriores, mediante un complemento.
Diferencias entre HTML 4.01 y HTML5
La etiqueta <applet> no es compatible con HTML5.
Atributos Requeridos
| Attribute | Value | Description |
|---|---|---|
| code | URL | Specifies the file name of a Java applet |
| object | name | Specifies a reference to a serialized representation of an applet |
Atributos opcionales
| Attribute | Value | Description |
|---|---|---|
| align | left right top bottom middle baseline | Specifies the alignment of an applet according to surrounding elements |
| alt | text | Specifies an alternate text for an applet |
| archive | URL | Specifies the location of an archive file |
| codebase | URL | Specifies a relative base URL for applets specified in the code attribute |
| height | pixels | Specifies the height of an applet |
| hspace | pixels | Defines the horizontal spacing around an applet |
| name | name | Defines the name for an applet (to use in scripts) |
| vspace | pixels | Defines the vertical spacing around an applet |
| width | pixels | Specifies the width of an applet |
- Obtener vínculo
- X
- Correo electrónico
- Otras apps