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>

Subscribe to our mailing list

* indicates required
Subscribe to plus2net
Your Rating


Google+

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




Subscribe to our mailing list

* indicates required
Subscribe to plus2net
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us
©2000-2016 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer