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 |