HTML iframe align Attribute

Definition and Usage

The align attribute specifies the horizontal and vertical alignment of the iframe in relation to the surrounding text/elements.
The iframe element is a floating element (does not start a new line in the HTML page), so text and other elements can wrap around it.

Compatibility Notes

The align attribute of the iframe element was deprecated in HTML 4.01 and is not supported in XHTML 1.0 Strict DTD.


<iframe align="align">
description non-visual/text-only browsers

Parameter Description
align Optional. Specifies horizontal and vertical alignment of the iframe element.Possible values:
  • left
  • right
  • top
  • bottom
HTML iframe align Attribute Reviewed by 1000sourcecodes on 04:47 Rating: 5
Powered by Blogger.