test.html
<applet class = "yourclass.class" width = xxx height = xxx>
this is a applet
</applet>
open test.html or  enter appletviewer test.html in cmd line, ok