Skip to content
Related Articles

Related Articles

HTML <iframe> align Attribute

Improve Article
Save Article
  • Last Updated : 31 Dec, 2021
Improve Article
Save Article

The HTML <iframe> align attribute is used to specify the alignment of the inline-frame according to the alternate element. 

Syntax

<iframe align="left|right|middle|top|bottom">

Attribute Values

  • left: It sets the alignment of an iframe to left.
  • right: It sets the alignment of an iframe to right.
  • middle: It sets the alignment of an iframe to the middle.
  • top: It sets the alignment of an iframe to the top.
  • Bottom: It sets the alignment of an iframe to the bottom.

Note: The HTML