4.
How can you add a caption with the text "Table title" to the following HTML table?
<table>
________
<tr>
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
<td>Data 3</td>
</tr>
</table>
<table><p>Table title</p></table>
<caption-title>Title: "Table title"</caption-title>
<title>"Table title"</title>
<caption>Table title</caption>
Correct: D
By using the <caption> tag, you can add a caption to an HTML table. The correct way to add a caption with the text "Table title" to the given table is <caption>Table title</caption>.