1 <html> 2 <head> 3 <title>JS Unleashed</title> 4 </head> 5 <body> 6 <SCRIPT TYPE="text/JavaScript"> 7 <!-- 8 //写一个标题 9 document.write("显示从(0,0)到(0,0)的坐标:<br>"); 10 for(var x=0;x<10;x++){ 11 for(var y=0;y<10;y++){ 12 document.write("("+x+","+y+"),"); 13 } 14 document.write('<br>'); 15 } 16 //--> 17 </SCRIPT> 18 </body> 19 </html>