阅读目录
第一种
- 第一种
- 第二种
- 第三种
- 第四种
DOCTYPE html>
九九乘法表
div{
width: 80px;
display: inline-block;
font-size: 18px;
background-color: lawngreen;
}
table td{
width: 80px;
}
for(var i=1;i
九九乘法表
div{
width: 80px;
display: inline-block;
font-size: 18px;
background-color: lawngreen;
}
table td{
width: 80px;
}
for(var i=9;i>0;i--){
for(var j=1;jDOCTYPE html>
九九乘法表
div{
width: 80px;
display: inline-block;
font-size: 18px;
}
table td{
width: 80px;
}
document.write("");
for (var x = 9; x>=1; x--){
document.write("");
//这层是循环输出空格子的
for(var i=1;i=1; y--){
document.write(""+y+"*"+x+"="+y*x+"");
}
}
document.write("");
DOCTYPE html>
九九乘法表
div{
width: 80px;
display: inline-block;
font-size: 18px;
}
table td{
width: 80px;
}
document.write("");
for (var x = 1; x=1; y--){
document.write(""+y+"*"+x+"="+y*x+"");
}
}
document.write("");