Your browser does not support JavaScript!'

HTML Applet Tag ~ VUSs

Welcome to VUSs, as you guys know. VUSs is all about Computer Science's fundamentals and Tests Preparation.
All published articles are organized in simple, easy, and short English sentences to familiarize the students with computer science.
In that respect today's article is HTML Applet Tag


Today's Topic
HTML Applet Tag


HTML Applet Tag




Java Applet In HTML

Applet Tag is used to Embed a Java applet in HTML document. But it's not supported in HTML5. It's provided in HTML4, but now in HTML5 it is deprecated. In other words it is a specific tag which is used to embed some webpages or scripts to make the site OR its content dynamic.
However, you can use other HTML Tags Instead of Applet HTML elements are cited below..

HTML Applet Alteraatives.
<Object>  <!-- To embed an object -->
<video>  <!-- To embed a Video Media File -->
<audio>  <!-- To embed a Audio Media File -->
<img>    <!-- To embed a Graphic such as images -->
<iframe> <!-- To embed a document is better to use iframe -->

Syntax And Example of Applet Tag

<applet code="JavaName.class" width="350" height="350" > </applet>

Applet Tag Alternatives

The alternative of HTML Applet tag is an object tag. The <object> is used to define an embed within the HTML pages. You also can choose this element to embed media files such as ( audio, video, Java applets, PDF, and Flash) in your HTML document. Alternative to an "Object Tag" is <iframe></iframe>

Are the Java applets still used???

No. Applet is no more after March 2019. So you should use other HTML5's element to embed your external sciripts.

HTML Tags

Post a Comment

0 Comments

^