The caption
element is used to caption tables. A caption is a
short description of the contents of the table. The caption
element must
appear immediately after the <table>
tag, there should be no other
elements or text in between.
Example: <table><caption>the table caption</caption><tr><th>heading</th></tr><tr><td>row 1</td></tr></table>
Attributes
- Core Attributes
The core attributes can be applied to this element.
align
This deprecated attribute specifies the position of the caption. Takes the values
top
,bottom
,left
,andright
. The CSS propertycaption-side
is preferred instead of this attribute.
No comments:
Post a Comment