Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!doctype html> <title>Example</title> <style> table { border: 1px solid orange; border-collapse: collapse; width: 100%; } td, th { border: 1px solid orange; padding: 5px; } caption { caption-side: bottom; } </style> <table> <caption>This is the caption. Try changing the values to see the effect it has on the position of the caption.</caption> <tr> <th>Table Header</th> <th>Table Header</th> <th>Table Header</th> </tr> <tr> <td>Cell</td> <td>Cell</td> <td>Cell</td> </tr> <tr> <td>Cell</td> <td>Cell</td> <td>Cell</td> </tr> </table>
Preview