File name
Commit message
Commit date
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>for</title>
<style>
#page {margin: 0 auto; background-color: antiquewhite; width: 720px;}
#sector {width: 30%; float: left; background-color: antiquewhite; text-align: center; border: 1px black solid;}
</style>
</head>
<body>
<div id="page">
<?php
for($i = 1; $i<=9; $i++){
?>
<div id='sector'>
<?php
echo "<h2>" . $i . "단 </h2>";
for($j = 1; $j <= 9; $j++){
echo $i . "X" . $j . "=" . ($i*$j) . "<br>" ;
}
?>
<br>
</div>
<?php
}
?>
</div>
</body>
</html>