Truly independent web browser
<!DOCTYPE html>
<style>
.table {
display: table;
border: 2px solid black;
}
.caption {
display: table-caption;
caption-side: bottom;
border: 1px solid black;
}
img {
display: block;
}
</style>
<div class="table">
<img src="../400.png" width="100" height="100">
<div class="caption">Caption text constrained to table width</div>
</div>