HTML and CSS Reference
In-Depth Information
12.2.3.6. The name attribute
The name attribute lets you supply a unique name for this instance of
the code classthe copy of the applet that runs on the individual user's
computer. As with other named elements in your document, providing a
name for the applet lets other parts of your document, including other
applets, reference and interact with this one (e.g., for sharing computed
results).
12.2.3.7. The height, hspace, vspace, and width attributes
Use the height and width attributes (identical to the counterparts for the
<img> and <object> tags) to define the size of the applet's display region
in the document. Use hspace and vspace to interpose some empty space
around the applet region and thereby set it off from the text. They all
accept values indicating the size of the region in pixels. [ The height and
width attributes, 5.2.6.10 ]
12.2.3.8. The mayscript attribute
The mayscript attribute indicates that the Java applet is accessing
JavaScript features within the browser. Normally, Java applets attempt-
ing to access JavaScript cause a browser error. If your applets access
JavaScript, you must specify mayscript in the <applet> tag.
12.2.3.9. The title attribute
The value of this attribute is a quoted string that provides a title, if ne-
cessary, for the applet.
 
Search WWH ::




Custom Search