To create a value for, say, a parameter named file
, you specify
the parameter name and the value, a string, in an HTML file as follows:
*-- Name v ---- <param name=file value="general.movies"> ---------------- ^ *-- Value
Such parameter specifications lie between an
<applet**tilde**...>
</applet>
pair, as illustrated by the
following example:
<html> <head><title>Welcome to the Movies!</title></head> <body> <hr> In the following display, click on a movie to see its rating. <hr> <applet code="MovieApplet.class" width=400 height=150> <param name=file value="general.movies"> </applet> <hr> </body> </html>