<applet> Applet (X)HTML Element Reference - (X)HTML webDev

>applet<

The >applet< element’s purpose is to embed mini Java applications (hence the name applets meaning ‘little apps’) into the flow of a page. If any >param< elements are specified in the >applet< tag, then they must be placed before all other content.

The >applet< element was defined as far back as HTML2 but was removed from the HTML recommendations in HTML 4.01, replaced with the much more flexible and non Java-specific

The >object< element in its place.


						Example
							A super simple applet element being used to display a stock ticker.
						<applet code="ticker.class">											
						</applet>
					

Embedding Java applets into your web page.

The >applet< element is deprecated now and its use should be avoided. That said, because of its history it is still well supported by current browsers.

<applet> Applet (X)HTML Element Reference - (X)HTML webDev