YouTip LogoYouTip

Att Input Align

## HTML align Attribute The `align` attribute of the `` tag specifies the alignment of the input element relative to its surrounding content. **Note:** The `align` attribute is not supported in HTML5. Use CSS instead. ### Syntax ### Attribute Values | Value | Description | | :--- | :--- | | left | Aligns the input element to the left. | | right | Aligns the input element to the right. | | middle | Aligns the input element in the middle vertically. | | top | Aligns the input element at the top vertically. | | bottom | Aligns the input element at the bottom vertically. | ### Example HTML input align Attribute

Image on the left:

Image on the right:

← Att Input AltAtt Input Accept β†’