HTML <applet> tag

HTML <applet> tag : Definition

The <applet> tag does not support in HTML5 anymore.

The <applet> tag in HTML4 was used to embed Java applets(mini Java applications) into any HTML document.

An applet is a program written in Java programming language which can be included in an HTML page.

The alternatives for <applete> tag is available in HTML 5 which are <embed> and >object> tags.



Important Note:


The <applet> tag does not support in HTML5 anymore.



<applet> tag example


<!DOCTYPE html>
<html>
<body>

<h1>The embed tag example</h1>

<embed type="text/html" src="html-tutorial.php"  width="100%" height="700">





</body>
</html>

Output: