The html code below shows how an applet parameter would be specified in an HTML file.

 <applet code=AppletClassName width=120 height=120>
        <param name=parameter1 value="value1">
        <param name=parameter2 value="value2">
</applet>

Here's how the value of an applet parameter can be retrieved:

 String value = applet.getParameter("parameter1");