CSS Portal

HTML <applet> Tag

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!

This tag is deprecated in HTML 4.01 and not supported in HTML5, use the <object> tag instead.

Description

The <applet> HTML tag, which was widely used in the past but is now deprecated, was used to embed Java applets within web pages. Java applets were small, interactive programs written in the Java programming language that could run directly within a web browser. They were often used for tasks like interactive animations, games, or data visualization. However, due to security concerns and the decline in support for Java in modern web browsers, the <applet> tag has fallen out of favor. Instead, web developers now rely on other technologies like HTML5, JavaScript, and CSS to achieve similar interactive effects, which are more secure and compatible with contemporary web standards.

Properties

Permitted Parents
Any element that accepts embedded content
Content
Block, inline, and text; any <param> elements must come first
Start/End Tags
Start tag: required, End tag: required

Example

<applet code="lines.class" width="350" height="350">
Java applet that draws animated lines.
</applet>

Attributes

None

Global Attributes

None

Event Attributes

None

Browser Support

The following information will show you the current browser support for the HTML <applet> tag. Hover over a browser icon to see the version that first introduced support for this HTML tag.

Browser support for this tag is currently unknown.
Desktop
Chrome
Edge
Firefox
Opera
Safari
Tablets & Mobile
Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-

Last updated by CSSPortal on: 6th December 2019

If this site has been useful, we’d love your support! Consider buying us a coffee to keep things going strong!