Basic HTML version of Foils prepared May 12 1996

Foil 87 The details of the <applet> tag

From CRPC Lectures on Java Language Applets Graphics CRPC Annual Meeting Tutorial -- May 14,1996. by Geoffrey C. Fox


<applet code="fred.class" codebase="classes" width="widthvalue" height="heightvalue" >
Put a bunch of text here to be displayed by browsers such as Netscape 2.0 on Windows 3.1 that do not support Java
</applet>
One can also include INSIDE <applet > tag, attributes available for <img > tag in conventional HTML. These attributes are
Align=texttop which aligns top of applet with top of the tallest text in the line
Align=top which aligns top of applet with top of tallest item in the line
and align= absmiddle, middle, baseline, bottom, absbottom with similar meaning
hspace=num1 allows num1 pixels to either side of applet and surrounding text
vspace=num2 allows num2 pixels to top and bottom of applet and surrounding text



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Dec 14 1997