You are here: Reference > HTML > attributes > vAlign (caption)

vAlign attribute (caption)

Browser support:
Specifies the vertical position of the caption element within a table.
In other browsers you can use the caption-side style property instead.
JavaScript page for this attribute: vAlign. You can find other example(s) there.

Possible values:

String that sets the vertical position.
One of the following values:
Caption is at the bottom of the table.
Default. Caption is at the top of the table.
Default: top.

Example HTML code 1:

This example illustrates the use of the vAlign attribute:
<table border="1px">
    <caption id="myCaption" valign="bottom">Fruits</caption>
Did you find this example helpful? yes no

Supported by tags:

Related pages:

External links:

User Contributed Comments

Post Content

Post Content