Home Segments Top Top Previous Next

811: Mainline

HTML files can refer to applets using <applet></applet> pairs. The <applet> tag includes width and height specifications, as well as the name of the applet file; the file is presumed to be in the same directory as the HTML file:

<html> 
<head> 
<title>Welcome to the Meter Applet Demonstration</title> 
</head> 
<body> 
<hr> 
<applet code="MovieApplication.class" width=350 height=150></applet> 
<hr> 
</body> 
</html>