vAlign of type DOMString

Sets or retrieves whether the caption appears at the top or bottom of the table.

Possible values are:

  • top – Default. Places the caption at the top of the table.

  • bottom – Places the caption at the bottom of the table.

When this property is set dynamically, the value of the property will be updated, but there will be no visible change in the display.

This attribute extends the HTMLTableCaptionElement interface.