• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 12. Multimedia > Inserting Applets

Inserting Applets

Java applets are little applications (hence the term applets) that can run in your browser to create special effects on your page, like clocks, calculators, and interactive events. There are whole books devoted to Java; here we'll restrict the topic to how to insert applets on your page once you've written or copied them from another source.

To insert an applet:

1.
Type<APPLET CODE="applet.class" where applet.class is the name of the compiled applet.

2.
If desired, type WIDTH=w HEIGHT=h to specify the applet size in pixels.

3.
Type ></APPLET>.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint