Full width home advertisement

How To

Science

Post Page Advertisement [Top]




The HTML <applet> tag defines an applet and it is used for embedding a Java applet within an HTML document. 

Note that It is not supported in HTML5.

Example


<!DOCTYPE html>

<html>

<head>

<title>HTML applet Tag</title>

</head>

<body>

<applet code="testClass.class" width="300" height="200">

</applet>

</body>

</html>




Applet Specific Attributes



Attribute
Value
Description
align
URL
It defines the text alignment around the applet and it has been deprecated
alt
URL
It is the Alternate text to be displayed in case browser does not support applet
archive
URL
The Applet path when it is stored in a Java Archive that is jar file
code
URL
It is the URL that points to the class of the applet
codebase
URL
It points to the base URL of the applet if the code attribute is relative
height
pixels
It sets the Height to display the applet
hspace
pixels
It defines the left and right spacing around the applet. Note: It has been deprecated
name
name
It sets a unique name for the applet
object
name
It defines the resource that contains a serialized representation of the applet's state.
title
test
It is an additional information to be displayed in tool tip of the mouse
vspace
pixels
It is the amount of white space to be inserted above and below the object. Note: It has been deprecated
width
pixels
It sets the width to display the applet.



No comments:

Post a Comment

Bottom Ad [Post Page]

| Designed by Colorlib