SQL PHP HTML JavaScript articles and free code
 

Applet Tag in HTML webpages

            <Applet> tag is used to include Java applets in web pages. Java applets are files with ".class" extension.

Attributes of <applet> tag:

          Code: Used to specify the name of the Java applet file.

          Width: Used to specify the width of the applet.

          Height: Used to specify the height of the applet.

      Example:

          <applet code="japplet" width=400 height =250></applet>

          This code specifies that the applet to be used is "japplet.class".

          An applet can be customized with parameters. Parameters of an applet let us pass information to the applet. <Param> tag is used to pass parameters to the applet.

      Example:

          <applet code="japplet" width=400 height =250>

          <param name="label" value="This is a java applet with parameter">

          </applet>

Discuss this tutorial at forum

List of HTML Tutorials

 

Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.

Scripts
PHP
JavaScript
List of HTML Tutorial
HTML Tags
Color Chart
HTML Calendar
Tags on web page
Web Design
Subscribe
Submit your email address and receive article and product notifications. Your email is safe with us.