計算結果の出力2

<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title></title>
<style>

table{
border-collapse:collapse;
}

th{
  border:1px solid #666;
	background:#000;
	color:#FFF;
	font-weight:bold;
	width:100px;
}

td{
  border:1px solid #666;
	font-weight:bold;
	width:100px;
}

</style>
<script src=""></script>
<!--[if lte IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lte IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
<![endif]-->
</head>
<body>
<table>
<?php

$num1=100;
$num2=10;

print("<tr><th>五則演算</th><th>式</th><th>答え</th></tr>");
print("<tr><th>足し算</th><td>$num1+$num2</td><td>".($num1+$num2)."</td></tr>");
print("<tr><th>引き算</th><td>$num1-$num2</td><td>".($num1-$num2)."</td></tr>");
print("<tr><th>かけ算</th><td>$num1×$num2</td><td>".($num1*$num2)."</td></tr>");
print("<tr><th>わり算</th><td>$num1÷$num2</td><td>".($num1/$num2)."</td></tr>");
print("<tr><th>剰余算</th><td>$num1%$num2</td><td>".($num1%$num2)."</td></tr>");

?>
</table>	
</body>
</html>