HyperText Markup Language/Tag List/applet

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

Contents

[edit] Use

This is a depreciated tag. Used for applying Java Applets to the page. It was also used in conjunction with javascript.

[edit] Example

<applet cdoebase="file:D:/WebsiteData/Applets/timers/" code="clock.Class" width="300" height="200"> 
   <param name="format" value="twelve" /> 
</applet>

[edit] Required attributes

[edit] code

For specifying the URL of the applet code.

[edit] Optional attributes

[edit] align

How the applet is to be alignedwith the text and images.

[edit] alt

Text that will be displayed if teh browser does not support the applet tag.

[edit] archive

The name of the .zip file containing the file.

[edit] codebase

The class file subdirectory.

[edit] height

For specifying the height of the applet.

[edit] hspace

The horizontal space around the applet in pixels.

[edit] mayscript

Allows the applet to access a javascript or vbscript.

[edit] name

The name of the applet that will be accessed via a DOM.

[edit] vspace

The amount of vertical space around teh applet in pixels

[edit] width

For specifying the width of the applet.

[edit] Standard attributes

[edit] code

[edit] width

[edit] height

[edit] More info

A link to a page with more info, then the name of the site the info came from (i.e. W3Schools).

In other languages