Go to the applet web page for instance:
https://www.qoppa.com/files/pdfprint/demo/applet.html

Right-click on the white area of the HTML page and choose “View Page Source” in the context menu.

How to show the HTML source code of an applet
How to show the HTML source code of an applet

Here is the page source for our applet:

<HTML>
<HEAD>
<title>Qoppa Software - jPDFPrint Applet</title>
<script src="https://java.com/js/deployJava.js"></script>
</HEAD>
<BODY>
<font size="5"><strong> jPDFPrint - Applet</strong></font>
<hr>
<p>The applet below shows how our java library jPDFPrint can be used in a web browser to print PDF documents online.</p>
<p style="width: 800px; margin: 0 auto;">
<script type="text/javascript">
	var parameters = {java_arguments:"-Xmx256m"};
	var attributes = {archive:"/files/pdfprint/jars/prsamples.jar,/files/pdfprint/jars/jPDFPrint.jar", code:"jPDFPrintSamples.PDFPrintApplet",
width:"800", height:"500", name:"jPDFPrint"};
var version = '1.6.0_10';
deployJava.runApplet(attributes, parameters, version);
</script>
</p>
<hr>
</BODY>
</HTML>