define caption in html table
Answers
Answered by
0
Answer:
Definition and Usage
The <caption> tag defines a table caption. The <caption> tag must be inserted immediately after the <table> tag. Tip: By default, a table caption will be center-aligned above a table. However, the CSS properties text-align and caption-side can be used to align and place the caption.
Answered by
0
Answer:
The HTML <caption> tag defines the title of a table in the HTML document. Browsers traditionally render the text found in the <caption> tag above the table, but you can change this behavior with the CSS caption-side property. This tag is also commonly referred to as the <caption> element.
Similar questions