HTML Element Reference

"applet" - html element (deprecated)

  • This element is used to embed Java applets.
  • Starttag <applet> is Required and endtag </applet> is Required
  • It has been deprecated in favor of the more generalized 'object' element.
  • Browsers that support the applet - element : Internet Explorer Mozilla Firefox Opera Google Chrome Apple Safari
Element "applet" example:
<html>
  <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html;
          charset=windows-1252">
  </head>
  <body>
  <h1>Java applet Clock</h1>
  <applet width="150" height="150" code="Clock"
          archive="Clock.jar">
   </applet>
  </body>
</html>


Attributes:
align (deprecated), alt (deprecated), archive (deprecated), class (deprecated), code (deprecated), codebase (deprecated), height (required)(deprecated), hspace (deprecated), id (deprecated), name (deprecated), object (deprecated), style (deprecated), title (deprecated), vspace (deprecated), width (required)(deprecated)

Attribute "align" value(s): depend on which element bottom, middle, top, left or right
  • Specifies the horizontal alignment of its element with respect to the surrounding context.
  • You should use styles (CSS) instead.
Possible attribute, align, values for this element:
Attribute value description
bottom Means that the bottom of the applet should be vertically aligned with the current baseline. This is the default value.
middle Means that the center of the applet should be vertically aligned with the current baseline.
top Means that the top of the applet should be vertically aligned with the top of the current text line.
left Cause the applet to float to the current left margin.
right Cause the applet to float to the current right margin.



© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.