Skip to content
Related Articles

Related Articles

HTML | applet height Attribute
  • Last Updated : 22 Apr, 2020

The HTML applet height attribute is used to specify the height of an <applet> element.


<applet height="pixels">

Attribute Values:

  • pixels: It specifies the height of the applet element.


<!DOCTYPE html>
        HTML | applet height attribute
    <applet code="HelloWorld"
        width=200 height=60>
        Hello GeeksForGeeks
        a computer science
        portal for Geeks 

In the above code, the applet file HelloWorld can be used the variable name message to access the value stored in it, which is “HelloWorld”.


Supported Browsers: The browser supported by HTML applet height attribute are listed below:

  • Firefox
  • Safari


My Personal Notes arrow_drop_up
Recommended Articles
Page :