java-applet tag is used to place
Java applets into modules.
alt="A Complex Sinusoid">
Results in this display:
This attribute specifies either the name of the class file that contains the applet's compiled applet subclass or the path to
get the class, including the class file itself.
The MIME type of the Java object, e.g., "application/x-java-applet". This requried value tells each
visitor's browser what sort of information is contained
in the object. A list of common Internet media MIME types can be found
Specifies whether this object should be displayed in the online or PDF version of the content, or be used as the default media object.
If there is no default object present, then the
<media> element will only be displayed for the version(s) specified.
- default - This element is used for both PDF and online versions unless another, version-specific element is present (default).
- pdf - This element is used only for the PDF version of the content.
- online - This element is used only for the online version of the content.
A URI specifying the where the applet's files are located. If this attribute is not set, the browser will by default assume the
applet's files are located in the current directory.
A comma-separated list of URIs for archives containing classes and other resources that will be "preloaded".
This attribute specifies a name for the applet instance, which makes it possible for applets on the same page to find (and
communicate with) each other.
The location of the Java object file. It must be a URL value. If the Java object is stored
alongside the module, the file name itself can be used.
Starting with version 0.6, the CNXML language does not permit URLs that contain
ampersand (&) characters (i.e., http://cnx.org/example?i=1&
Check all object src
URLs and replace any ampersands with the entity
reference "&". More information can be found on the
The height of the Java applet in pixels.
The width of the Java applet in pixels.
The URL of a file containing a long description of the applet.
Not all readers will be able to see your included media in
their browser, either due to blindness, low-vision, or an
environment that doesn't support the media. Some applets are
too complex to describe fully in a few words using the "alt"
attribute, however. For applets that are
important for understanding the material, use "longdesc" to point
to a Web file that contains a full explanation of the applet.
A unique identifier, whose value must begin with a letter and contain only letters,
numbers, hyphens, underscores, colons, and/or periods (no spaces).
, Unicode text