files/en-us/web/api/htmltablesectionelement/valign/index.md
{{APIRef("HTML DOM")}}{{deprecated_header}}
The vAlign property of the {{domxref("HTMLTableSectionElement")}} interface is a string indicating how to vertically align text in a {{htmlelement("thead")}}, {{htmlelement("tbody")}} or {{htmlelement("tfoot")}} table section. Individual rows and cells can override it.
[!NOTE] This property is deprecated. Use the CSS {{cssxref("vertical-align")}} property to horizontally align text in section cells instead.
The possible values are: "top", "middle", "bottom", or "baseline"
top
vertical-align: top instead.center
middle. Use vertical-align: middle instead.middle
vertical-align: middle instead.bottom
vertical-align: bottom instead.baseline
top, but align the baseline of the text as close to the top so no part of the character is outside of the cell.Use CSS {{cssxref("vertical-align")}} instead, which takes precedence, as demonstrated in the vertical alignment table cells example.
{{Specifications}}
{{Compat}}