Open In App
Related Articles

HTML | applet align Attribute

Improve Article
Save Article
Like Article

The HTML applet align attribute is used to specify the alignment of the <applet> element or the content present inside the applet element.

Note: This attribute is not supported by HTML5.


<applet align="left | right | center | justify";>

Attribute Values:

  • left: It sets the content to the left-align.
  • right: It sets the content to the right-align.
  • center: I sets the content element to the center.
  • justify: It sets the content to the justify position.


<!DOCTYPE html>
        HTML | applet align Attribute
    <applet code="HelloWorld" alt="GeeksForGeeKs"
            align="right" width=200 height=60
        HTML applet align attribute
    <h2>Hello GeeksForGeeks</h2>
        a computer science
        portal for Geeks 


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

  • Firefox
  • Safari
Last Updated : 10 Jan, 2022
Like Article
Save Article
Similar Reads
Related Tutorials