The above tag tells the browser or applet viewer to load the applet whose Applet subclass, named AppletSubclass , is in a class file in the same directory as the HTML document that contains the tag. The above tag also specifies the width and height in pixels of the applet. Here's a slightly more complex applet tag. By making aURL an absolute URL, you can make a document loaded from your HTTP server run an applet from another HTTP server. If aURL is a relative URL, then it's interpreted relative to the HTML document's location.
Some applets let the user customize the applet's configuration with parameters.
You'll learn how to write the code to provide parameters in Defining and Using Applet Parameters. It's taken from a page in the UI trail. Java-compatible browsers ignore alternate HTML code. We use alternate HTML code throughout the online version of this tutorial to tell readers about the applet they're missing and, if it's helpful, to provide a picture of the applet.