<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
<title>Document</title>
</head>
<body>
<div class="table-responsive">
<table class="table table-bordered">
<?php
echo '<caption>响应式的九九乘法口诀</caption>';
for ($a=1;$a<=9;++$a){
echo'<tr>';
for ($b=1;$b<=$a;++$b){
echo"<td>{$b}*{$a}=".$a*$b.'</td>';
}
echo'</tr>';
}
?>
</table>
</div>
</body>
</html>