HELP! * GREY=local LOCAL HTML version of Foils prepared 29 January 1996

Foil 73 The details of the <applet> tag

From CPS616 Lectures on Java CPS616 Basic Information Track for Computational Science -- Winter-Spring Semester 96. by Geoffrey C. Fox * See also color IMAGE

<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 Tue Feb 18 1997