HTML tag HTML tag is used to add a caption or title of an HTML table. It should be used inside the element and just after the start tag. A table may contain only one element. Syntax
Following are some specifications about the tag
Display |
Inline |
Start tag/End tag |
Both start and End tag |
Usage |
textual |
Example 1
Test it Now Output: Attribute Tag-specific Attributes
Attribute |
Value |
Description |
align |
|
It aligns the caption with respect to table |
Global Attributes The tag supports the Global attributes Event Attributes The tag supports the event attributes. Supporting Browsers
Element |
Chrome |
IE |
Firefox |
Opera |
Safari |
|
Yes |
Yes |
Yes |
Yes |
Yes |
|