HTML Caption Tag
Define :
It defines a table caption and this tag must be inserted immediately after the <table> tag.
For example :
Output :

Browser Support
All browsers are supported like chrome, Microsoft edge, firefox, opera.
Example 2 :
Output :
Global and Event Attributes
This tag also supports the global and event attribute in HTML.
Default CSS Settings
Most browsers will display the <caption> element with the help of css:
caption {
display: table-caption;
text-align: center;
}