Which of the following element is used within the table element to define a caption?

<tablecaption>
</p> <caption>
<table-cap>
<table-caption>

The correct answer is: B.

The

element is used within the table element to define a caption. The caption is a brief description of the table, and it is usually displayed above or below the table.

The element is not a valid HTML element.

The element is a deprecated HTML element. It was used to define a caption for a table, but it is no longer supported by most browsers.

Here is an example of a table with a caption:

“`html

This is a table
Column 1Column 2
Row 1, Column 1Row 1, Column 2
Row 2, Column 1Row 2, Column 2

“`