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>

Be the first to post comment on this article :


Google+

Post Comment This is for short comments only. Use the forum for more discussions.






OPINION POLL

What is the most important factor of a web site
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2015 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer