asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Element Attributes > VALIGN Attribute

VALIGN Attribute | vAlign Property


Sets or retrieves how text and other content are vertically aligned within the object that contains them.

Syntax

Inline <element VALIGN = 'middle' | 'center' | 'baseline' | 'bottom' | 'top'...>
Script object.vAlign = sAlign ]

Possible Values

middle Aligns the text in the middle of the object.
center Aligns the text in the middle of the object.
baseline Aligns the base line of the first line of text with the base lines in adjacent objects.
bottom Aligns the text at the bottom of the object.
top Aligns the text at the top of the object.

The property is read/write with a default value of middle.

Applies To

COL, COLGROUP, TBODY, TD, TFOOT, TH, THEAD, TR


See Also

verticalAlign



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note