<HTML>
<HEAD>
<TITLE>
HTML Página de Prueba para Applets
</TITLE>
</HEAD>
<BODY>
applet1.Applet1 aparecerá cuando tenga el browser.<BR>
<APPLET
CODEBASE = “.”
CODE     = “nombreapplet.class”
NAME     = “Nombre del Applet”
WIDTH    = 400
HEIGHT   = 300
HSPACE   = 0
VSPACE   = 0
ALIGN    = middle
>
</APPLET>
</BODY>
</HTML>

Un código html más básico y facil tambien puede ser:

<html>
<head>
</head>
<body bgcolor=”000000″>
<center>
<applet
code    = “.class”
width    = “500″
height    = “300″
>
</applet>
</center>
</body>
</html>