Horje

How to take Position table captions (with CSS)

Follow the Example.
index.html
Example: HTML
<table> <caption style="text-align:right">My savings</caption> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr>
</table>
<br>
<table> <caption style="caption-side:bottom">My savings</caption> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr>
</table>

Output should be:

How to take Position table captions (with CSS)




Type :
html
Category :
Web Tutorial
Sub Category :
HTML Tag
Uploaded by :
Admin