<html> <head> <title>JS Unleashed</title> </head> <body> <SCRIPT TYPE="text/JavaScript"> <!-- //写一个标题 document.write("显示从0到99的100个数字:"); document.write('<hr size="0" width="50%" align="left">'); for(var i=0;i<100;i++){ if(i%10==0){ document.write('<br>'); } document.write(i+","); } //--> </SCRIPT> </body> </html>