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

Detailed explanation of an html tag embedded in java: applet

Y2J
Release: 2017-05-18 10:28:03
Original
2106 people have browsed it

Example

An embedded Java applet:

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

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
Copy after login

Event attributes

onclick, ondblclick, onmousedown, onmouseup, onmouseover, 
onmousemove, onmouseout, onkeypress, onkeydown, onkeyup
Copy after login
[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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template