HTML <hr> align Attribute (original) (raw)

Last Updated : 11 Jul, 2025

The **HTML


align Attribute is used to _specify the alignment of the horizontal line. If the width attribute is not set to 100% then the align attribute will not create any effect.

**Note: The


align Attribute is not supported by HTML5.

**Syntax:


**Attribute Values:

Attribute Values Description
**left It sets the left alignment to the horizontal line.
**center It sets the center-align to the horizontal line. It is the default value.
**right It sets the right alignment to the horizontal line.

**Example: In this example, we will see the implementation of hr align attribute tag with an example.

html `