The <applet> tag allows you to insert embedded Java applets into your HTML document.
<applet code="">
Description
The code attribute is required and specifies the base .class file of your Java applet.
Code
<applet code="applet.class"></applet>
<applet codebase="">
Description
The codebase attribute is optional and specifies a base url. All nonspecific urls such as "java/applet.class" are resolved according to the codebase url.
Code
<applet codebase="URL"></applet>
<applet width="">
Description
The width attribute is optional and lets the browser know how much space to alot the Java applet.
Code
<applet width="100"></applet>
<applet height="">
Description
The height attribute is optional and lets the browser know how much space to alot the Java applet.