Create an applet using the html file, for demonstration of font size and font type on applet message. in java.
Answers
Answered by
1
Answer:
<HTML>
<HEAD>
<TITLE>Java applet example - Passing applet parameters to Java applets</TITLE>
</HEAD>
<BODY>
<APPLET CODE="AppletParameterTest.class" WIDTH="400" HEIGHT="50">
<PARAM NAME="font" VALUE="Dialog">
<PARAM NAME="size" VALUE="24">
<PARAM NAME="string" VALUE="Hello, world ... it's me. :)">
</APPLET>
</BODY>
</HTML>
<!-- AppletParameterTest.html - an HTML file that
calls a Java applet with the applet tag,
and passes several parameters to the applet via
the <PARAM> tag. -->
Similar questions