Skip to content
Related Articles

Related Articles

HTML | applet height Attribute

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 13 Jan, 2022

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

Note: This attribute is not supported by HTML5.


<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 :

Start Your Coding Journey Now!