description & Usage
<caption> is used to define a [table caption]
Notes
Note: The <caption> tag must be used inside the <table> tag and within the first row.
Browser compatibility and Support
# | Chrome | Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
<caption> |
Global Attributes
The <caption> tag supports the HTML Global Attributes.
Event Attributes
The <caption> tag supports the HTML Event Attributes.
Default CSS
Most browsers will display the <caption> tag with the following default style: