Supported Tags

HTML align Attribute

HTML align Attribute in HTML is used to specify the alignment of the text content of The Element. This attribute is used in all elements. The Align attribute can also be set using the CSS property “text-align: ” or in <img> “vertical-align: “. For horizontal alignment, use align with values like “left,” “center,” or “right” within appropriate tags.

Note: The align attribute is deprecated in HTML5, and styles should be used via CSS for better practices.

Similar Reads

Supported Tags: