×
   ❮     
HTML CSS MySql Javascript SQL PYTHON JAVA C++ C# BOOTSTRAP REACT XML NODEJS ANGULAR DJango Rust Android VUE
     ❯   

HTML Applet tag


Applet tag in HTML?

The "Applet" tag accessed in the early versions of HTML, was used to Java script Applets for web pages.

Still, it is no longer supported in modern browsers because of security issues and disappearing fame of Java applets.

On the contrary, web technology like html5, css, and javascript is now familiar for rendering interactive content instead.


Example of Applet tag

"Applet" tag could be considered as the digital version of the mini-program.

It enabled you to use Java applets inside web pages which provided you the option to create the interactive content or animations.

Example

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Hello Applet</title>
</head>
<body>
  <applet code="HelloApplet.class" width="200" height="100">
    Your browser does not support Java applets.
  </applet>
</body>
</html>
Try it Yourself »

Hey there! Let's go for Learn fasta then! It is more than just coding; it is to have the superpower that can solve any problem. Through simple and easy-to-grasp examples you will sail through the learning process. In addition, it is not just about coding– you will acquire competencies on how to solve complex problems, analyze data, and come up with efficient solutions. Shall we start this wonderful journey together! learnfasta.com terms of use, Copyright 2025 All Rights Reserved.