标签:ima src doc bsp blog amp com order 技术分享
<style type="text/css">
td{
border:5px solid pink;
}
</style>
<script type="text/javascript">
var str = "<table align=‘center‘ width=‘center‘>";
for(var i=1;i<10;i++){
str += "<tr>";
for(var j=1;j<=i;j++){
str +="<td>"+ j +"×"+i +"=" +(j*i) +"</td>";
}
str +="</tr>";
}
str += "</table>";
document.write(str);
</script>
标签:ima src doc bsp blog amp com order 技术分享
原文地址:http://www.cnblogs.com/zhang19950924/p/6135877.html