HTML HTML The use of Java applet is also deprecated, and most browsers do not support the use of plugins. Note: The Syntax
Following are some specifications about
Display |
Block |
Start tag/End tag |
Both Start tag and End tag |
Usage |
Embed Applets |
Example
Test it Now
Attributes Specific Attributes
Attribute name |
Value |
Description |
code |
URL |
It specifies the URL of Java applet class file. |
width |
pixels |
It specifies the display width of the applet panel. |
height |
pixels |
It specifies the display height of applet panel |
align |
- left
- right
- top
- middle
- bottom
|
It specifies the position of applet application relative to surrounding content. |
alt |
text |
It is used to display alternative text in case browser does not support Java. |
archive |
URL |
This specifies the archived or compressed version of an applet application. |
object |
name |
It specifies the URL or reference to a serialized representation of an applet. |
codebase |
URL |
It specifies the exact or relative URL of applets .class file specified in the code attribute. |
hspace |
pixels |
It specifies the horizontal space around the applet. |
vspace |
pixels |
It specifies the vertical space around the applet. |
name |
name |
It specifies the name for the applet |
Global Attributes The Event Attributes The Supporting Browsers
Element |
Chrome |
IE |
Firefox |
Opera |
Safari |
|
Not supported |
Not Supported |
Yes |
Not Supported |
Yes |
|