HTML | applet align Attribute
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.
Syntax:
<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.
Example:
<!DOCTYPE html> < html > < head > < title > HTML | applet align Attribute </ title > </ head > < body > < applet code = "HelloWorld" alt = "w3wiki" align = "right" width = 200 height = 60 name = "Beginner" > </ applet > < h1 > HTML applet align attribute </ h1 > < h2 >Hello w3wiki</ h2 > < p > a computer science portal for Beginner </ p > </ body > </ html > |
Output:
Supported Browsers: The browser supported by HTML applet align attribute are listed below:
- Firefox
- Safari