Label attributes
Attribute meaning
Width the width of the applet on the HTML page
Height the height of the applet on the HTML page
Name the name of the applet on the HTML page. It is used to name multiple applets on an HTML page.
Code Applet Class Name, must contain the suffix "class". If there is no attribute archive, write the class name directly. If there is an attribute archive, it must contain the package name.
Codebase Applet Class relative path, relative to HTML page location
File Name of the jar package where the archive applet is located
Attribute introduction of label <param>
Attribute meaning
Name the parameter name passed in by the Applet
Value the parameter value passed in by the Applet
How to embed an applet into a class Object
Property Code ========== Applet Class Name, which must contain a suffix
Attribute codebase ------------- relative path of the class file to the HTML page
The applet is a jar package embedded in HTML
Property Code ========== Applet Class Name, including package name
Attribute codebase -------------- relative path of the applet jar package to the HTML page
Attribute archive ----------------------- name of the applet jar package