<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>九九乘法表</title> <script> window.onload=function jiujiu() { for (var i = 1; i <= 9; i++) { for (var j = 1; j < =i; j++) { document.write(i+"*"+j+"="+i*j+"   "); }; document.write("<br>"); }; } </script> </head> <body> <button onclick="jiujiu()">点我出现九九乘法表</button> </body> </html>
KevenHuang
慕瓜9220888