Skip to content
Related Articles

Related Articles

HTML | <applet> vspace Attribute

Improve Article
Save Article
  • Last Updated : 27 Apr, 2020
Improve Article
Save Article

The applet vspace attribute is used to specify the number of whitespaces on the bottom and top side of an applet element.


<applet vspace="pixels">

Attribute Values:

  • pixels: It specifies the number of whitespaces on top and bottom of applet element in terms of pixels.

Below example illustrates the HTML applet vspace attribute.

  • Example:

    <!DOCTYPE html>
            HTML | applet vspace attribute
        <applet code="HelloWorld" 
                width=200 height="60" 
        <h1>HTML applet vspace attribute</h1>
        <h2>Hello GeeksforGeeks</h2>
            A computer science portal for Geeks

  • Output:

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

  • Firefox
  • Safari
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!