Specifies the horizontal or vertical placement of the text to render as the HTML caption element.
Assembly: System.Web (in System.Web.dll)
The caption element is aligned with the bottom of the table.
The caption element is aligned with the left side of the table.
The caption alignment is not set. The browser that renders the caption determines where to align the caption.
The caption element is aligned with the right side of the table.
The caption element is aligned with the top of the table.
If you specify, the browser in which the control is rendered determines where to align the caption.
The CaptionAlign property specifies the position of the caption element with respect to controls that can be rendered as tables. The Caption property specifies the text to display in the caption element. Assistive technology devices can use the description provided by the Caption property to make the control more accessible. For example, a screen reader device might read the caption to the user to provide them with a description of the table.
Legacy Code Example
Available since 1.1