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


1 <applet code="fred.class" codebase="classes" width="widthvalue" height="heightvalue" >
2 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
3 </applet>
4 One can also include INSIDE <applet > tag, attributes available for <img > tag in conventional HTML. These attributes are
5 Align=texttop which aligns top of applet with top of the tallest text in the line
6 Align=top which aligns top of applet with top of tallest item in the line
7 and align= absmiddle, middle, baseline, bottom, absbottom with similar meaning
8 hspace=num1 allows num1 pixels to either side of applet and surrounding text
9 vspace=num2 allows num2 pixels to top and bottom of applet and surrounding text

in Table To:


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