HTML <caption> tagHTML <caption> tag is used to add a caption or title of an HTML table. It should be used inside the <table> element and just after the <table> start tag. A table may contain only one <caption> element. SyntaxFollowing are some specifications about the <caption> tag
Example 1Test it NowOutput: AttributeTag-specific Attributes
Global AttributesThe <caption> tag supports the Global attributes Event AttributesThe <caption> tag supports the event attributes. Supporting Browsers
Next TopicHTML Center Tag
|