Legacy & Obsolete Elements

<applet>

Obsolete or historical HTML; do not use in new documents. Embedded a Java applet using a browser plug-in. Modern browsers no longer provide the Java applet environment; rewrite the application using appropriate web technologies. A canvas is only a drawing surface, not an applet runtime. The syntax shows old markup for recognition only. The runnable example demonstrates a modern migration pattern, not the obsolete behavior.

Formal Syntax & Structure

html syntaxhtml
<applet code="Demo.class" width="200" height="100"></applet>

Working Example

Example Snippethtml
<p>  <a href="/demo/">Open the web application</a></p>
HTML Reference