What is Applet in Java?
How to create Applet Hello World?
Applet is Java Program that runs in browser. Browser should be Java enabled to run a program.
You have to create applet class in Java and then compile it into class file. After compilation it should be embedded into the html page.
You can use the following code for embedding it into the HTML page:
<APPLET CODE="HelloWorldApplet.class" WIDTH=700 HEIGHT=500>