Displaying your applet from a Web page.
Name the file HelloWorldApplet.java. Run the compiler, javac, to get a byte code file HelloWorldApplet.class. Put this in a web directory.
<title>Simple Hello Page</title>
<applet code=“HelloWorldApplet.class” width=150 height=25>
Name of your applet class.
The browser will use a rectangle of width 150 pixels and height 25 pixels to display the applet within the other html.