Home  >  Article  >  Java  >  Detailed explanation of an html tag embedded in java: applet

Detailed explanation of an html tag embedded in java: applet

Y2J
Y2JOriginal
2017-05-18 10:28:032053browse

Example

An embedded Java applet:

<applet code="Bubbles.class" width="350" height="350">
Java applet that draws animated bubbles.
</applet>

Browser support

Detailed explanation of an html tag embedded in java: applet

Some support for the tag still exists in some browsers, but it requires additional plug-ins and installation processes to work.

Definition and Usage

The tag is not supported in HTML5. Please use the object element tag instead.

The element is deprecated in HTML 4.01. The

tag defines the embedded applet.

Differences between HTML 4.01 and HTML5

In HTML5, the applet element is not supported; in HTML 4.01, the applet element is deprecated.

Required Attributes

Detailed explanation of an html tag embedded in java: applet

##Optional Attributes

Detailed explanation of an html tag embedded in java: applet

Standard attributes

id, class, title, style, dir, lang, xml:lang

Event attributes

onclick, ondblclick, onmousedown, onmouseup, onmouseover, 
onmousemove, onmouseout, onkeypress, onkeydown, onkeyup

[Related recommendations]

1.

Special Recommendation: "php Programmer Toolbox" V0.1 version download

2.

Java free video Tutorial

3.

Teach you how to configure the Applet environment

4.

Detailed explanation of Application and Applet What are the differences

5.

Introduce in detail what is Java applet

The above is the detailed content of Detailed explanation of an html tag embedded in java: applet. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn